aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-18 05:59:34 +0000
committerrsc <devnull@localhost>2005-01-18 05:59:34 +0000
commitc968e5190b6502cbcd4a97627c0fa73dfb0255a4 (patch)
tree7794cda0d761741ce6bcd67b187e49783dcca5fa /bin
parent0ebee0de76f5225c87516bcebcd1ac59eb341b97 (diff)
downloadplan9port-c968e5190b6502cbcd4a97627c0fa73dfb0255a4.tar.gz
plan9port-c968e5190b6502cbcd4a97627c0fa73dfb0255a4.tar.bz2
plan9port-c968e5190b6502cbcd4a97627c0fa73dfb0255a4.zip
look in right place for 64-bit X libs
Diffstat (limited to 'bin')
-rwxr-xr-xbin/9l5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/9l b/bin/9l
index 7ea689d1..c10c11e8 100755
--- a/bin/9l
+++ b/bin/9l
@@ -147,6 +147,11 @@ then
then
X11=/usr/X11R6
fi
+ # x86_64 seems to put its 64-bit libraries in lib64.
+ if [ "${OBJTYPE:-`uname -m`}" = "x86_64" ]
+ then
+ libsl="$libsl -L$X11/lib64"
+ fi
libsl="$libsl -L$X11/lib -lX11"
fi
fi