提交 7e81dbe5 authored 作者: Michael Jerris's avatar Michael Jerris

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
上级 082a8a26
......@@ -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
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论