ttry again at x86-64 - 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 c384ebd2ce67b0289562ac416ff1c233dbd23a13
(DIR) parent 6987199d12136814679c36e2592a839f504b56f2
(HTM) Author: rsc <devnull@localhost>
Date: Wed, 19 Jan 2005 16:42:34 +0000
ttry again at x86-64
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@@ -16,7 +16,9 @@ HFILES=dat.h fns.h
TARG=rio
# should only use lib64 on x86-64, but it should not hurt elsewhere
-LDFLAGS=-L$X11/lib64 -L$X11/lib -lXext -lX11
+# stupid Darwin complains about the nonexistant directory
+L64=`[ -d $X11/lib64 ] && echo 64`
+LDFLAGS=-L$X11/lib$L64 -lXext -lX11
<$PLAN9/src/mkone