mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
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).
This commit is contained in:
parent
665c4880f7
commit
c01b206550
@ -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 */
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user