PKGBUILDs/community/js185/fix-install-symlinks.patch

16 lines
494 B
Diff
Raw Normal View History

2019-01-01 15:16:12 +00:00
https://bugzilla.mozilla.org/show_bug.cgi?id=628723#c43
2018-01-11 19:50:44 +00:00
--- a/js/src/Makefile.in
+++ b/js/src/Makefile.in
2019-01-01 15:16:12 +00:00
@@ -888,8 +888,8 @@ endif
2018-01-11 19:50:44 +00:00
ifeq (,$(HOST_BIN_SUFFIX))
mv -f $(SHLIB_ANY_VER) $(SHLIB_EXACT_VER)
@[ ! -h $(SHLIB_ABI_VER) ] || rm -f $(SHLIB_ABI_VER)
- ln -s $(SHLIB_EXACT_VER) $(SHLIB_ABI_VER)
- ln -s $(SHLIB_ABI_VER) $(SHLIB_ANY_VER)
+ ln -s $(notdir $(SHLIB_EXACT_VER)) $(SHLIB_ABI_VER)
+ ln -s $(notdir $(SHLIB_ABI_VER)) $(SHLIB_ANY_VER)
endif
endif
ifneq (,$(IMPORT_LIBRARY))