js185.destdir.patch 631 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
# See discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=628723
# Patch created by Colin Walters <walters@verbum.org>

--- js/src/Makefile.in.orig	2011-06-15 19:40:27.447770306 -0400
+++ js/src/Makefile.in	2011-06-15 19:40:57.013770299 -0400
@@ -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))