commit cd6ba02db04b87f85f2cc97323a7c469e50546a0 Author: Dmitry V. Levin Date: Sun Sep 11 23:37:29 2011 +0000 hints/linux.sh: canonicalize path names (ALT#26249) diff --git a/hints/linux.sh b/hints/linux.sh index 956adfc..7b03b33 100644 --- a/hints/linux.sh +++ b/hints/linux.sh @@ -171,7 +171,8 @@ fi case "$plibpth" in '') plibpth=`LANG=C LC_ALL=C $gcc $ccflags $ldflags -print-search-dirs | grep libraries | - cut -f2- -d= | tr ':' $trnl | grep -v 'gcc' | sed -e 's:/$::'` + cut -f2- -d= | tr ':' $trnl | grep -v 'gcc' | sed -e 's:/$::' | + xargs -rn1 readlink -e` set X $plibpth # Collapse all entries on one line shift plibpth="$*"