]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
64bit tweak
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 21 Mar 2006 17:08:54 +0000 (17:08 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 21 Mar 2006 17:08:54 +0000 (17:08 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@888 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/mozilla.build.sh

index d8ce24fce97132cdc18ae175399b6b46fc40a464..1f3c03bb71680b6386d6de580460fc97c7daf2e1 100755 (executable)
@@ -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`