mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-03 11:58:36 +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
|
# set DYNAMIC_LIB_EXTEN
|
||||||
# we should really be using libtool so we don't need to do this
|
# we should really be using libtool so we don't need to do this
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*darwin*)
|
|
||||||
DYNAMIC_LIB_EXTEN="dylib"
|
|
||||||
;;
|
|
||||||
*cygwin* | *mingw*)
|
*cygwin* | *mingw*)
|
||||||
DYNAMIC_LIB_EXTEN="dll"
|
DYNAMIC_LIB_EXTEN="dll"
|
||||||
;;
|
;;
|
||||||
|
@ -723,8 +723,6 @@ static switch_status_t sm_load_module(const char *dir, const char *fname)
|
|||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
const char *ext = ".dll";
|
const char *ext = ".dll";
|
||||||
#elif defined (MACOSX) || defined (DARWIN)
|
|
||||||
const char *ext = ".dylib";
|
|
||||||
#else
|
#else
|
||||||
const char *ext = ".so";
|
const char *ext = ".so";
|
||||||
#endif
|
#endif
|
||||||
|
@ -749,8 +749,6 @@ SWITCH_DECLARE(switch_status_t) switch_loadable_module_load_module(char *dir, ch
|
|||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
const char *ext = ".dll";
|
const char *ext = ".dll";
|
||||||
#elif defined (MACOSX) || defined (DARWIN)
|
|
||||||
const char *ext = ".dylib";
|
|
||||||
#else
|
#else
|
||||||
const char *ext = ".so";
|
const char *ext = ".so";
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user