PKGBUILDs/community/js185/destdir.patch
2018-01-11 19:50:44 +00:00

16 lines
564 B
Diff

# See discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=628723
# Patch created by Colin Walters <walters@verbum.org>
--- a/js/src/Makefile.in
+++ b/js/src/Makefile.in
@@ -900,8 +900,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))