aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/rio
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/rio')
-rw-r--r--src/cmd/rio/mkfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/rio/mkfile b/src/cmd/rio/mkfile
index d6ff3d61..775597d3 100644
--- a/src/cmd/rio/mkfile
+++ b/src/cmd/rio/mkfile
@@ -15,10 +15,10 @@ HFILES=dat.h fns.h
TARG=rio
-# should only use lib64 on x86-64, but it should not hurt elsewhere
-# stupid Darwin complains about the nonexistant directory
-L64=`[ -d $X11/lib64 ] && echo 64`
-LDFLAGS=-L$X11/lib$L64 -lXext -lX11
+# need to add lib64 when it exists (on x86-64), but
+# Darwin complains about the nonexistant directory
+L64=`[ -d $X11/lib64 ] && echo 64; echo`
+LDFLAGS=-L$X11/lib$L64\ -lXext -lX11
<$PLAN9/src/mkone