1
0
forked from 0ad/0ad

Also patch SpiderMonkey on OSX.

This was SVN commit r17067.
This commit is contained in:
Yves 2015-09-24 12:04:15 +00:00
parent a564ccaf11
commit a1a61be547

View File

@ -679,8 +679,11 @@ then
tar -xf $LIB_ARCHIVE
# rename the extracted directory to something shorter
mv $LIB_VERSION $LIB_DIRECTORY
pushd $LIB_DIRECTORY/js/src
# Apply patches
./patch.sh
pushd $LIB_DIRECTORY/js/src
# We want separate debug/release versions of the library, so change their install name in the Makefile
perl -i.bak -pe 's/(^STATIC_LIBRARY_NAME\s+=).*/$1mozjs31-ps-debug/' Makefile.in
perl -i.bak -pe 's/js_static/mozjs31-ps-debug/g' shell/Makefile.in