From c384ebd2ce67b0289562ac416ff1c233dbd23a13 Mon Sep 17 00:00:00 2001 From: rsc Date: Wed, 19 Jan 2005 16:42:34 +0000 Subject: try again at x86-64 --- src/cmd/rio/mkfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cmd/rio/mkfile b/src/cmd/rio/mkfile index 6e2373fa..d6ff3d61 100644 --- a/src/cmd/rio/mkfile +++ b/src/cmd/rio/mkfile @@ -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 -- cgit v1.2.3