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:
Michael Jerris 2007-08-06 18:10:30 +00:00
parent 082a8a26d9
commit 7e81dbe5b0
3 changed files with 0 additions and 7 deletions

View File

@ -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"
;;

View File

@ -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

View File

@ -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