From c7ab1b5885b7331d23a8681aa8ca5b8837f1a501 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 21 Mar 2006 17:08:54 +0000 Subject: [PATCH] 64bit tweak git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@888 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/mozilla.build.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libs/mozilla.build.sh b/libs/mozilla.build.sh index d8ce24fce9..1f3c03bb71 100755 --- a/libs/mozilla.build.sh +++ b/libs/mozilla.build.sh @@ -1,3 +1,11 @@ -cd nsprpub && ./configure && make +arch=`uname -m` + +opts="" +if [ $arch = "x86_64" ] ; then +opts="--enable-64bit" +fi + +cd nsprpub && ./configure $opts && make + cd ../js/src && JS_THREADSAFE=1 OTHER_LIBS="-L../../../mozilla/nsprpub/dist/lib" INCLUDES="-I../../../mozilla/nsprpub/dist/include/nspr" make -f Makefile.ref `find . -name libjs.a`