[Freeswitch-svn] [commit] r5573 - in freeswitch/trunk: . src src/mod/languages/mod_spidermonkey

Freeswitch SVN mikej at freeswitch.org
Mon Aug 6 14:10:30 EDT 2007


Author: mikej
Date: Mon Aug  6 14:10:30 2007
New Revision: 5573

Modified:
   freeswitch/trunk/configure.in
   freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c
   freeswitch/trunk/src/switch_loadable_module.c

Log:
use .so not .dylib for modules on OS-X, fix for MODENDP-16

Modified: freeswitch/trunk/configure.in
==============================================================================
--- freeswitch/trunk/configure.in	(original)
+++ freeswitch/trunk/configure.in	Mon Aug  6 14:10:30 2007
@@ -106,9 +106,6 @@
 # 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"
     ;;

Modified: freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c	(original)
+++ freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c	Mon Aug  6 14:10:30 2007
@@ -723,8 +723,6 @@
 
 #ifdef WIN32
 	const char *ext = ".dll";
-#elif defined (MACOSX) || defined (DARWIN)
-	const char *ext = ".dylib";
 #else
 	const char *ext = ".so";
 #endif

Modified: freeswitch/trunk/src/switch_loadable_module.c
==============================================================================
--- freeswitch/trunk/src/switch_loadable_module.c	(original)
+++ freeswitch/trunk/src/switch_loadable_module.c	Mon Aug  6 14:10:30 2007
@@ -749,8 +749,6 @@
 
 #ifdef WIN32
 	const char *ext = ".dll";
-#elif defined (MACOSX) || defined (DARWIN)
-	const char *ext = ".dylib";
 #else
 	const char *ext = ".so";
 #endif



More information about the Freeswitch-svn mailing list