]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
glibc: Fix a very weird issue with rpath.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 14 Feb 2010 22:35:40 +0000 (23:35 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 14 Feb 2010 22:35:40 +0000 (23:35 +0100)
pkgs/core/glibc/glibc.nm

index 9819c0d55809ec3e8fd4d30967361900d6e38acb..c8c5d608681e6a67126339488443feb5c6dd9f08 100644 (file)
@@ -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