Commit b4db6972 authored by Philip Chimento's avatar Philip Chimento 🚮

patches: mozjs45-1176787-disable-mozglue.patch update

This adds a hunk to this patch that ensures the patch has the intended
effect on macOS as well.
parent 05625da0
......@@ -85,3 +85,14 @@ diff --git a/js/src/configure.in b/js/src/configure.in
if test "$MOZ_MEMORY"; then
cat >> confdefs.pytmp <<\EOF
--- a/mozglue/build/moz.build 2017-04-29 18:04:50.000000000 -0700
+++ b/mozglue/build/moz.build 2017-04-29 18:04:57.000000000 -0700
@@ -6,7 +6,7 @@
# Build mozglue as a shared lib on Windows, OSX and Android.
# If this is ever changed, update MOZ_SHARED_MOZGLUE in browser/installer/Makefile.in
-if CONFIG['OS_TARGET'] in ('WINNT', 'Darwin', 'Android'):
+if CONFIG['OS_TARGET'] in ('WINNT', 'Darwin', 'Android') and not CONFIG['JS_STANDALONE']:
SharedLibrary('mozglue')
else:
Library('mozglue')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment