--- a/js/src/old-configure +++ b/js/src/old-configure @@ -5081,10 +5081,10 @@ -if test -n "$JS_STANDALONE"; then -JS_LIBRARY_NAME="mozjs-$MOZILLA_SYMBOLVERSION" +if test -n "$MOZ_DEBUG"; then +JS_LIBRARY_NAME="mozjs$MOZILLA_SYMBOLVERSION-debug" else -JS_LIBRARY_NAME="mozjs" +JS_LIBRARY_NAME="mozjs$MOZILLA_SYMBOLVERSION-release" fi JS_CONFIG_LIBS="$NSPR_LIBS $LIBS" if test -n "$GNU_CC"; then