[Freeswitch-svn] [commit] r9605 - freeswitch/trunk/libs/apr/dso/unix

Freeswitch SVN mikej at freeswitch.org
Fri Sep 19 20:05:01 EDT 2008


Author: mikej
Date: Fri Sep 19 20:05:00 2008
New Revision: 9605

Modified:
   freeswitch/trunk/libs/apr/dso/unix/dso.c

Log:
hack for now until we ditch apr dso code completely

Modified: freeswitch/trunk/libs/apr/dso/unix/dso.c
==============================================================================
--- freeswitch/trunk/libs/apr/dso/unix/dso.c	(original)
+++ freeswitch/trunk/libs/apr/dso/unix/dso.c	Fri Sep 19 20:05:00 2008
@@ -120,10 +120,10 @@
 #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] == ')')



More information about the Freeswitch-svn mailing list