commit c968e5190b6502cbcd4a97627c0fa73dfb0255a4 parent 0ebee0de76f5225c87516bcebcd1ac59eb341b97 Author: rsc <devnull@localhost> Date: Tue, 18 Jan 2005 05:59:34 +0000 look in right place for 64-bit X libs Diffstat:
M | bin/9l | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git 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