mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:26:10 +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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue