Author: mikej Date: Sun Oct 1 23:36:26 2006 New Revision: 2937 Modified: freeswitch/trunk/libs/mozilla.build.sh Log: force -lpthread on freebsd Modified: freeswitch/trunk/libs/mozilla.build.sh ============================================================================== --- freeswitch/trunk/libs/mozilla.build.sh (original) +++ freeswitch/trunk/libs/mozilla.build.sh Sun Oct 1 23:36:26 2006 @@ -1,7 +1,5 @@ hosttype=`uname -s` - -pthreadopts="" - +ldflags= if [ $hosttype = "FreeBSD" ] ; then patch <<__EOF__ @@ -23,7 +21,7 @@ cp js/src/config/Linux_All.mk js/src/config/`uname -s``uname -r`.mk -pthreadopts=" --with-pthreads=yes" +ldflags=-lpthread fi if [ $hosttype = "OpenBSD" ] ; then @@ -41,7 +39,7 @@ opts="--enable-64bit" fi -cd nsprpub && ./configure $opts $pthreadopts && $MAKE +cd nsprpub && LDFLAGS=$ldflags ./configure $opts && $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`
participants (1)
-
Freeswitch SVN