aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/rio
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-07-13 13:44:35 +0000
committerrsc <devnull@localhost>2005-07-13 13:44:35 +0000
commita699daf6afc17d8e7085b3cd2413f4d25ca689fe (patch)
tree0892b7155475cec2bf7bc47f0d979b723cd06fbc /src/cmd/rio
parent7b99eb273267e775f0534e09390f1e24c0a84543 (diff)
downloadplan9port-a699daf6afc17d8e7085b3cd2413f4d25ca689fe.tar.gz
plan9port-a699daf6afc17d8e7085b3cd2413f4d25ca689fe.tar.bz2
plan9port-a699daf6afc17d8e7085b3cd2413f4d25ca689fe.zip
work around bug in mk?
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 754a26cf..a640e594 100644
--- 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