Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
Bug 633699: Fix for windows spidermonkey builds. r=pbiggar
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris AtLee committed Feb 17, 2011
1 parent b0ee6ec commit 96b2075
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/spidermonkey_builds/spidermonkey.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,12 @@ test -d js || mkdir js

cd js
NSPR_CFLAGS=$($OBJDIR/dist/bin/nspr-config --cflags)
NSPR_LIBS=$($OBJDIR/dist/bin/nspr-config --libs)
if [ "$OSTYPE" = "msys" ]; then
NSPR_LIBS="$OBJDIR/dist/lib/plds4.lib $OBJDIR/dist/lib/plc4.lib $OBJDIR/dist/lib/nspr4.lib"
export PATH="$OBJDIR/dist/lib:${PATH}"
else
NSPR_LIBS=$($OBJDIR/dist/bin/nspr-config --libs)
fi
../../src/js/src/configure $CONFIGURE_ARGS --with-dist-dir=$OBJDIR/dist --prefix=$OBJDIR/dist --with-nspr-prefix=$OBJDIR/dist --with-nspr-cflags="$NSPR_CFLAGS" --with-nspr-libs="$NSPR_LIBS" || exit 2

make || exit 2
Expand Down

0 comments on commit 96b2075

Please sign in to comment.