[Freeswitch-svn] [commit] r3484 - freeswitch/trunk/libs

Freeswitch SVN mikej at freeswitch.org
Wed Nov 29 09:43:42 EST 2006


Author: mikej
Date: Wed Nov 29 09:43:41 2006
New Revision: 3484

Modified:
   freeswitch/trunk/libs/mozilla.build.sh

Log:
fix spidermonkey build on FreeBSD (patch from Matt Klein)

Modified: freeswitch/trunk/libs/mozilla.build.sh
==============================================================================
--- freeswitch/trunk/libs/mozilla.build.sh	(original)
+++ freeswitch/trunk/libs/mozilla.build.sh	Wed Nov 29 09:43:41 2006
@@ -23,6 +23,7 @@
 cp js/src/config/Linux_All.mk js/src/config/`uname -s``uname -r`.mk
 
 ldflags="-lpthread"
+other_libs="-lpthread"
 fi
 
 if [ $hosttype = "OpenBSD" ] ; then
@@ -49,5 +50,6 @@
 
 cd nsprpub && CFLAGS=$cflags LDFLAGS=$ldflags ./configure $opts && $MAKE
 
-cd ../js/src && CFLAGS=$cflags BUILD_OPT=$BUILD_OPT LDFLAGS=$ldflags JS_THREADSAFE=1 JS_HAS_FILE_OBJECT=1 OTHER_LIBS="-L../../../mozilla/nsprpub/dist/lib" INCLUDES="-I../../../mozilla/nsprpub/dist/include/nspr"  $MAKE -f Makefile.ref `find . -name libjs.a`
+cd ../js/src && CFLAGS=$cflags BUILD_OPT=$BUILD_OPT LDFLAGS=$ldflags JS_THREADSAFE=1 JS_HAS_FILE_OBJECT=1 OTHER_LIBS="$other_libs -L../../../mozilla/nsprpub/dist/lib" INCLUDES="-I../../../mozilla/nsprpub/dist/include/nspr"  $MAKE -f Makefile.ref `find . -name libjs.a`
+
 



More information about the Freeswitch-svn mailing list