try again
diff --git a/src/cmd/rio/mkfile b/src/cmd/rio/mkfile
index d6ff3d6..775597d 100644
--- a/src/cmd/rio/mkfile
+++ b/src/cmd/rio/mkfile
@@ -15,10 +15,10 @@
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