twork around bug in mk? - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit a699daf6afc17d8e7085b3cd2413f4d25ca689fe
(DIR) parent 7b99eb273267e775f0534e09390f1e24c0a84543
(HTM) Author: rsc <devnull@localhost>
Date: Wed, 13 Jul 2005 13:44:35 +0000
work around bug in mk?
Diffstat:
M src/cmd/rio/mkfile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/src/cmd/rio/mkfile b/src/cmd/rio/mkfile
t@@ -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