commit a699daf6afc17d8e7085b3cd2413f4d25ca689fe
parent 7b99eb273267e775f0534e09390f1e24c0a84543
Author: rsc <devnull@localhost>
Date: Wed, 13 Jul 2005 13:44:35 +0000
work around bug in mk?
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/cmd/rio/mkfile b/src/cmd/rio/mkfile
@@ -20,8 +20,10 @@ TARG=rio
# need to add lib64 when it exists (on x86-64), but
# Darwin complains about the nonexistant directory
+# Bug in mk? "$L64 -lXext" gobbles the space, so
+# add trailing slash.
L64=`[ -d $X11/lib64 ] && echo 64; echo`
-LDFLAGS=-L$X11/lib$L64 -lXext -lX11
+LDFLAGS=-L$X11/lib$L64/ -lXext -lX11
<$PLAN9/src/mkone