From ebd092f2a8f3c9aae9470e064059bddc653155d1 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Mon, 2 Oct 2006 04:06:27 +0000 Subject: [PATCH] spidermonkey builds successfully on freebsd now. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2938 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/mozilla.build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/mozilla.build.sh b/libs/mozilla.build.sh index 11d2761a3d..a1a3459a47 100755 --- a/libs/mozilla.build.sh +++ b/libs/mozilla.build.sh @@ -1,5 +1,5 @@ hosttype=`uname -s` -ldflags= +ldflags="" if [ $hosttype = "FreeBSD" ] ; then patch <<__EOF__ @@ -21,7 +21,7 @@ __EOF__ cp js/src/config/Linux_All.mk js/src/config/`uname -s``uname -r`.mk -ldflags=-lpthread +ldflags="-lpthread" fi if [ $hosttype = "OpenBSD" ] ; then @@ -41,5 +41,5 @@ fi 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` +cd ../js/src && 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`