64bit tweak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@888 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-03-21 17:08:54 +00:00
parent 3030915703
commit c7ab1b5885
1 changed files with 9 additions and 1 deletions

View File

@ -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`