mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
use .so not .dylib for modules on OS-X, fix for MODENDP-16
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5573 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
082a8a26d9
commit
7e81dbe5b0
@ -106,9 +106,6 @@ fi
|
||||
# set DYNAMIC_LIB_EXTEN
|
||||
# we should really be using libtool so we don't need to do this
|
||||
case "$host" in
|
||||
*darwin*)
|
||||
DYNAMIC_LIB_EXTEN="dylib"
|
||||
;;
|
||||
*cygwin* | *mingw*)
|
||||
DYNAMIC_LIB_EXTEN="dll"
|
||||
;;
|
||||
|
@ -723,8 +723,6 @@ static switch_status_t sm_load_module(const char *dir, const char *fname)
|
||||
|
||||
#ifdef WIN32
|
||||
const char *ext = ".dll";
|
||||
#elif defined (MACOSX) || defined (DARWIN)
|
||||
const char *ext = ".dylib";
|
||||
#else
|
||||
const char *ext = ".so";
|
||||
#endif
|
||||
|
@ -749,8 +749,6 @@ SWITCH_DECLARE(switch_status_t) switch_loadable_module_load_module(char *dir, ch
|
||||
|
||||
#ifdef WIN32
|
||||
const char *ext = ".dll";
|
||||
#elif defined (MACOSX) || defined (DARWIN)
|
||||
const char *ext = ".dylib";
|
||||
#else
|
||||
const char *ext = ".so";
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user