summaryrefslogtreecommitdiff
path: root/lang/spidermonkey24/files/patch-bug702179
diff options
context:
space:
mode:
Diffstat (limited to 'lang/spidermonkey24/files/patch-bug702179')
-rw-r--r--lang/spidermonkey24/files/patch-bug70217923
1 files changed, 23 insertions, 0 deletions
diff --git a/lang/spidermonkey24/files/patch-bug702179 b/lang/spidermonkey24/files/patch-bug702179
new file mode 100644
index 000000000000..959ceed753e7
--- /dev/null
+++ b/lang/spidermonkey24/files/patch-bug702179
@@ -0,0 +1,23 @@
+diff --git js/src/Makefile.in js/src/Makefile.in
+index e28160a..28ca5e8 100644
+--- Makefile.in
++++ Makefile.in
+@@ -35,7 +35,6 @@ ifdef JS_SHARED_LIBRARY
+ FORCE_SHARED_LIB = 1
+ endif
+ FORCE_STATIC_LIB = 1
+-DIST_INSTALL = 1
+
+ ###############################################
+ # BEGIN include sources for low-level code shared with mfbt
+@@ -584,8 +584,8 @@ install:: $(EXPORTS_mozilla)
+ install:: $(SCRIPTS)
+ $(SYSINSTALL) $^ $(DESTDIR)$(bindir)
+
+-install:: $(REAL_LIBRARY) $(SHARED_LIBRARY) $(IMPORT_LIBRARY)
+-ifneq (,$(REAL_LIBRARY))
++install:: $(LIBRARY) $(SHARED_LIBRARY) $(IMPORT_LIBRARY)
++ifdef DIST_INSTALL
+ $(SYSINSTALL) $(REAL_LIBRARY) $(DESTDIR)$(libdir)
+ mv -f $(DESTDIR)$(libdir)/$(REAL_LIBRARY) $(subst $(STATIC_LIBRARY_NAME),$(LIBRARY_NAME),$(DESTDIR)$(libdir)/$(REAL_LIBRARY))
+ endif