nixpkgs/pkgs/applications/networking/browsers/icecat-4/rpath-link.patch

15 lines
549 B
Diff
Raw Normal View History

Without this patch, IceCat ends up linking with
`-Wl,-rpath-link=/bin -Wl-,-rpath-link=/lib'.
--- icecat-3.5/js/src/configure 2009-07-04 18:03:01.000000000 +0200
+++ icecat-3.5/js/src/configure 2009-07-13 18:34:30.000000000 +0200
@@ -4775,7 +4775,6 @@ HOST_AR='$(AR)'
HOST_AR_FLAGS='$(AR_FLAGS)'
MOZ_JS_LIBS='-L$(libdir) -lmozjs'
-MOZ_FIX_LINK_PATHS='-Wl,-rpath-link,$(LIBXUL_DIST)/bin -Wl,-rpath-link,$(PREFIX)/lib'
MOZ_COMPONENT_NSPR_LIBS='-L$(LIBXUL_DIST)/bin $(NSPR_LIBS)'
MOZ_XPCOM_OBSOLETE_LIBS='-L$(LIBXUL_DIST)/lib -lxpcom_compat'