From: Michael Tremer Date: Sun, 14 Feb 2010 22:35:40 +0000 (+0100) Subject: glibc: Fix a very weird issue with rpath. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a346372e18753546662e0c3bcbfd8248eb7c2ac;p=ipfire-3.x.git glibc: Fix a very weird issue with rpath. --- diff --git a/pkgs/core/glibc/glibc.nm b/pkgs/core/glibc/glibc.nm index 9819c0d55..c8c5d6086 100644 --- a/pkgs/core/glibc/glibc.nm +++ b/pkgs/core/glibc/glibc.nm @@ -159,6 +159,10 @@ define STAGE_PREPARE cd $(DIR_APP) && \ sed -e "s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=$(shell readelf -l /bin/sh | sed -n 's@.*interpret.*$(TOOLS_DIR)\(.*\)]$$@\1@p') -o|" \ -i scripts/test-installation.pl + + # Fix a very weird issue with rpath + cd $(DIR_APP) && sed -e "s/LDFLAGS-rpath-ORIGIN/LDFLAGS/g" \ + -i iconvdata/Makefile endef define STAGE_BUILD