void-packages/srcpkgs/js/patches/js185-destdir.patch

16 lines
557 B
Diff
Raw Normal View History

2011-07-12 18:53:07 +02:00
#https://bugzilla.mozilla.org/show_bug.cgi?id=628723
--- js/src/Makefile.in.old 2011-04-10 04:21:19.918608008 -0700
+++ js/src/Makefile.in 2011-04-10 04:21:58.088607992 -0700
@@ -888,8 +888,8 @@
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))