File freeswitch-apr.diff of Package freeswitch

Index: libs/apr/dso/unix/dso.c
===================================================================
--- libs/apr/dso/unix/dso.c	(revision 9815)
+++ libs/apr/dso/unix/dso.c	(working copy)
@@ -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_LOCAL);
+    void *os_handle = dlopen((char *)path, RTLD_NOW | RTLD_GLOBAL);
 
 #else
-    int flags = RTLD_NOW | RTLD_LOCAL;
+    int flags = RTLD_NOW | RTLD_GLOBAL;
     void *os_handle;
 #ifdef _AIX
     if (strchr(path + 1, '(') && path[strlen(path) - 1] == ')')
openSUSE Build Service is sponsored by