]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
hack for now until we ditch apr dso code completely
authorMichael Jerris <mike@jerris.com>
Sat, 20 Sep 2008 00:05:00 +0000 (00:05 +0000)
committerMichael Jerris <mike@jerris.com>
Sat, 20 Sep 2008 00:05:00 +0000 (00:05 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9605 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/apr/dso/unix/dso.c

index e3baf72ce8e5de79729fa56610deaf8546b17bbe..15d39d7d196240eb0a63e81ba50acaab5709f815 100644 (file)
@@ -120,10 +120,10 @@ APR_DECLARE(apr_status_t) apr_dso_load(apr_dso_handle_t **res_handle,
 #if defined(OSF1) || defined(SEQUENT) || defined(SNI) ||\
     (defined(__FreeBSD_version) && (__FreeBSD_version >= 220000)) ||\
     defined(__DragonFly__)
-    void *os_handle = dlopen((char *)path, RTLD_NOW | RTLD_GLOBAL);
+    void *os_handle = dlopen((char *)path, RTLD_NOW | RTLD_LOCAL);
 
 #else
-    int flags = RTLD_NOW | RTLD_GLOBAL;
+    int flags = RTLD_NOW | RTLD_LOCAL;
     void *os_handle;
 #ifdef _AIX
     if (strchr(path + 1, '(') && path[strlen(path) - 1] == ')')