summaryrefslogtreecommitdiffstats
path: root/scripts/install_copy_toolchain.sh
diff options
context:
space:
mode:
authorRemy Bohmer <linux@bohmer.net>2012-03-28 21:05:01 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-04-03 21:18:50 +0200
commitf21fe5c720fe323a9215af94773119df712b91d4 (patch)
tree49730995cc90a3284e269f3bbece4c1996f37d68 /scripts/install_copy_toolchain.sh
parent32d6ec91e2f71121eae852fb7b3a8fcdccbf4e55 (diff)
downloadptxdist-f21fe5c720fe323a9215af94773119df712b91d4.tar.gz
ptxdist-f21fe5c720fe323a9215af94773119df712b91d4.tar.xz
Remove hardcoded paths from glibc.make
These hardcoded paths do not work for a multilib environment where libraries are typically installed in /lib64 for x86-64 instead of /lib All correct paths can be found by interrogating the compiler toolchain for the location of these files. Signed-off-by: Remy Bohmer <linux@bohmer.net> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/install_copy_toolchain.sh')
-rwxr-xr-xscripts/install_copy_toolchain.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install_copy_toolchain.sh b/scripts/install_copy_toolchain.sh
index 7b91fc40d..0f21fce36 100755
--- a/scripts/install_copy_toolchain.sh
+++ b/scripts/install_copy_toolchain.sh
@@ -101,7 +101,7 @@ ptxd_split_lib_prefix_sysroot_eval() {
lib_dir="${lib_path%/${lib}}" # abs path to that lib
# try to identify sysroot part of that path
- for prefix in {/usr,}/lib{64,32,}{/tls,} ""; do
+ for prefix in {/usr,}/lib{64,32,}{/tls,/gconv,} ""; do
tmp="${lib_dir%${prefix}}"
if test "${lib_dir}" != "${tmp}"; then
break