look in right place for 64-bit X libs

This commit is contained in:
rsc 2005-01-18 05:59:34 +00:00
parent 0ebee0de76
commit c968e5190b

5
bin/9l
View file

@ -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