aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/rio
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-19 16:42:34 +0000
committerrsc <devnull@localhost>2005-01-19 16:42:34 +0000
commitc384ebd2ce67b0289562ac416ff1c233dbd23a13 (patch)
tree20384750914ce175c561a7603afcd46c404a5af3 /src/cmd/rio
parent6987199d12136814679c36e2592a839f504b56f2 (diff)
downloadplan9port-c384ebd2ce67b0289562ac416ff1c233dbd23a13.tar.gz
plan9port-c384ebd2ce67b0289562ac416ff1c233dbd23a13.tar.bz2
plan9port-c384ebd2ce67b0289562ac416ff1c233dbd23a13.zip
try again at x86-64
Diffstat (limited to 'src/cmd/rio')
-rw-r--r--src/cmd/rio/mkfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmd/rio/mkfile b/src/cmd/rio/mkfile
index 6e2373fa..d6ff3d61 100644
--- a/src/cmd/rio/mkfile
+++ b/src/cmd/rio/mkfile
@@ -16,7 +16,9 @@ HFILES=dat.h fns.h
TARG=rio
# should only use lib64 on x86-64, but it should not hurt elsewhere
-LDFLAGS=-L$X11/lib64 -L$X11/lib -lXext -lX11
+# stupid Darwin complains about the nonexistant directory
+L64=`[ -d $X11/lib64 ] && echo 64`
+LDFLAGS=-L$X11/lib$L64 -lXext -lX11
<$PLAN9/src/mkone