freeswitch/libs/mozilla.build.sh

12 lines
306 B
Bash
Executable File

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`