From c01b206550bc429411d2cf8a21b3e43bcc16a8c0 Mon Sep 17 00:00:00 2001 From: Bill Medland Date: Wed, 30 Jun 2004 18:14:32 +0000 Subject: [PATCH] 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). --- dlls/odbc32/proxyodbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/odbc32/proxyodbc.c b/dlls/odbc32/proxyodbc.c index 917abe93559..ca911ded633 100644 --- a/dlls/odbc32/proxyodbc.c +++ b/dlls/odbc32/proxyodbc.c @@ -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 */ {