mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-04 17:51:03 +00:00
fix spidermonkey build on FreeBSD (patch from Matt Klein)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3484 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
50d87f2c78
commit
6b5a464f2b
@ -23,6 +23,7 @@ __EOF__
|
|||||||
cp js/src/config/Linux_All.mk js/src/config/`uname -s``uname -r`.mk
|
cp js/src/config/Linux_All.mk js/src/config/`uname -s``uname -r`.mk
|
||||||
|
|
||||||
ldflags="-lpthread"
|
ldflags="-lpthread"
|
||||||
|
other_libs="-lpthread"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $hosttype = "OpenBSD" ] ; then
|
if [ $hosttype = "OpenBSD" ] ; then
|
||||||
@ -49,5 +50,6 @@ fi
|
|||||||
|
|
||||||
cd nsprpub && CFLAGS=$cflags LDFLAGS=$ldflags ./configure $opts && $MAKE
|
cd nsprpub && CFLAGS=$cflags LDFLAGS=$ldflags ./configure $opts && $MAKE
|
||||||
|
|
||||||
cd ../js/src && CFLAGS=$cflags BUILD_OPT=$BUILD_OPT 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`
|
cd ../js/src && CFLAGS=$cflags BUILD_OPT=$BUILD_OPT LDFLAGS=$ldflags JS_THREADSAFE=1 JS_HAS_FILE_OBJECT=1 OTHER_LIBS="$other_libs -L../../../mozilla/nsprpub/dist/lib" INCLUDES="-I../../../mozilla/nsprpub/dist/include/nspr" $MAKE -f Makefile.ref `find . -name libjs.a`
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user