summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrmanfredi <rmanfredi@2592e710-e01b-42a5-8df0-11608a6cc53d>2011-12-13 17:42:02 +0000
committerrmanfredi <rmanfredi@2592e710-e01b-42a5-8df0-11608a6cc53d>2011-12-13 17:42:02 +0000
commit18a561d68ca484eddc51ad7a0be6ee96dc0aa4aa (patch)
tree97c6e81085c555a78b107d77b53957f189b1ba46
parented39c8082e70a1e858ac82c86191c4da800cd550 (diff)
Added /usr/lib/*-gnu to the default library path.
git-svn-id: svn://svn.code.sf.net/p/dist/code/trunk/dist@107 2592e710-e01b-42a5-8df0-11608a6cc53d
-rw-r--r--mcon/U/libpth.U3
1 files changed, 2 insertions, 1 deletions
diff --git a/mcon/U/libpth.U b/mcon/U/libpth.U
index 679b016..4024cb7 100644
--- a/mcon/U/libpth.U
+++ b/mcon/U/libpth.U
@@ -76,7 +76,8 @@
?INIT:test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth"
?INIT:test -f /shlib/libc.so && glibpth="/shlib $glibpth"
?X: /lib32 and /lib64 are for Linux systems running both 32- and 64-bit programs
-?INIT:glibpth="$glibpth /lib32 /lib64"
+?X: /usr/lib/i386-linux-gnu/ is used on Debian by the libc6-dev package
+?INIT:glibpth="$glibpth /lib32 /lib64 "`ls -1d /usr/lib/*-gnu 2>/dev/null`
?INIT:: Private path used by Configure to find libraries. Its value
?INIT:: is prepended to libpth. This variable takes care of special
?INIT:: machines, like the mips. Usually, it should be empty.