Commit c01b2065 authored by Bill Medland's avatar Bill Medland Committed by Alexandre Julliard

Set RTLD_GLOBAL when loading the odbc driver manager so that when it

loads its own driver that driver can call back into the manager (as the Oracle Beta driver does, for example).
parent 665c4880
......@@ -236,7 +236,7 @@ static BOOL ODBC_LoadDriverManager(void)
s = "libodbc.so";
strcpy(gProxyHandle.dmLibName, s);
gProxyHandle.dmHandle = wine_dlopen(gProxyHandle.dmLibName, RTLD_LAZY, error, sizeof(error));
gProxyHandle.dmHandle = wine_dlopen(gProxyHandle.dmLibName, RTLD_LAZY | RTLD_GLOBAL, error, sizeof(error));
if (gProxyHandle.dmHandle == NULL) /* fail to load unixODBC driver manager */
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment