summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-04-22 09:03:47 +0200
committerMichał Górny <mgorny@gentoo.org>2017-04-22 09:27:26 +0200
commitec76f6e000bdfdc91f4b5da7fa05c57a39cc3f27 (patch)
tree7b8acd30aa609405c4e36db42dea68bc9a95bac1 /sys-lib-dlsearch
parentMove patches from ::gentoo (diff)
downloadelt-patches-ec76f6e000bdfdc91f4b5da7fa05c57a39cc3f27.tar.gz
elt-patches-ec76f6e000bdfdc91f4b5da7fa05c57a39cc3f27.tar.bz2
elt-patches-ec76f6e000bdfdc91f4b5da7fa05c57a39cc3f27.zip
Add application script, and a Makefile20170422
Diffstat (limited to 'sys-lib-dlsearch')
-rw-r--r--sys-lib-dlsearch/2.421
1 files changed, 0 insertions, 21 deletions
diff --git a/sys-lib-dlsearch/2.4 b/sys-lib-dlsearch/2.4
deleted file mode 100644
index 89eb699..0000000
--- a/sys-lib-dlsearch/2.4
+++ /dev/null
@@ -1,21 +0,0 @@
-the linux target parses /etc/ld.so.conf to see what paths are
-searched at runtime, and hardcodes /lib /usr/lib as a fallback.
-this works poorly when cross-compiling, so tweak the behavior:
- - search $SYSROOT/etc/ld.so.conf
- - default to Gentoo's notion of the active multilib
-
---- a/configure
-+++ b/configure
-@@ -10405,9 +10405,9 @@
- hardcode_into_libs=yes
-
- # Append ld.so.conf contents to the search path
-- if test -f /etc/ld.so.conf; then
-- lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
-- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
-+ if test -f "$SYSROOT"/etc/ld.so.conf; then
-+ lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < "$SYSROOT"/etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
-+ sys_lib_dlsearch_path_spec="/@GENTOO_LIBDIR@ /usr/@GENTOO_LIBDIR@ $lt_ld_extra"
- fi
-
- # We used to test for /lib/ld.so.1 and disable shared libraries on