PKGBUILDs/community/js185/fix-install-symlinks.patch
2019-01-01 15:16:12 +00:00

15 lines
494 B
Diff

https://bugzilla.mozilla.org/show_bug.cgi?id=628723#c43
--- a/js/src/Makefile.in
+++ b/js/src/Makefile.in
@@ -888,8 +888,8 @@ endif
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))