0ad/libraries/source/spidermonkey/patches/FixLibNames.diff

17 lines
404 B
Diff
Raw Normal View History

--- a/js/src/old-configure
+++ b/js/src/old-configure
2024-10-13 13:13:45 -07:00
@@ -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