mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-12 23:40:04 +00:00
hack for now until we ditch apr dso code completely
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9605 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
be3df211e3
commit
4b89516bce
@ -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) ||\
|
#if defined(OSF1) || defined(SEQUENT) || defined(SNI) ||\
|
||||||
(defined(__FreeBSD_version) && (__FreeBSD_version >= 220000)) ||\
|
(defined(__FreeBSD_version) && (__FreeBSD_version >= 220000)) ||\
|
||||||
defined(__DragonFly__)
|
defined(__DragonFly__)
|
||||||
void *os_handle = dlopen((char *)path, RTLD_NOW | RTLD_GLOBAL);
|
void *os_handle = dlopen((char *)path, RTLD_NOW | RTLD_LOCAL);
|
||||||
|
|
||||||
#else
|
#else
|
||||||
int flags = RTLD_NOW | RTLD_GLOBAL;
|
int flags = RTLD_NOW | RTLD_LOCAL;
|
||||||
void *os_handle;
|
void *os_handle;
|
||||||
#ifdef _AIX
|
#ifdef _AIX
|
||||||
if (strchr(path + 1, '(') && path[strlen(path) - 1] == ')')
|
if (strchr(path + 1, '(') && path[strlen(path) - 1] == ')')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user