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

Freeswitch SVN anthm at freeswitch.org
Sun Oct 1 12:26:20 EDT 2006


Author: anthm
Date: Sun Oct  1 12:26:20 2006
New Revision: 2914

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

Log:
fix spidermonkey freebsd build take 2, try this

Modified: freeswitch/trunk/libs/mozilla.build.sh
==============================================================================
--- freeswitch/trunk/libs/mozilla.build.sh	(original)
+++ freeswitch/trunk/libs/mozilla.build.sh	Sun Oct  1 12:26:20 2006
@@ -1,5 +1,7 @@
 hosttype=`uname -s`
 
+pthreadopts=""
+
 if [ $hosttype = "FreeBSD" ] ; then
 
 patch <<__EOF__ 
@@ -20,8 +22,8 @@
 __EOF__
 
 cp js/src/config/Linux_All.mk js/src/config/`uname -s``uname -r`.mk
-ldflags=-lpthread
 
+pthreadopts=" --with-pthreads=yes"
 fi
 
 arch=`uname -m`
@@ -31,7 +33,7 @@
 opts="--enable-64bit"
 fi
 
-cd nsprpub && LDFLAGS=$ldflags ./configure $opts && $MAKE
+cd nsprpub && ./configure $opts $pthreadopts && $MAKE
 
 cd ../js/src && 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`
 



More information about the Freeswitch-svn mailing list