From eea5f6adfed4de2d9ef848b170027fd57206c81c Mon Sep 17 00:00:00 2001 From: rsc Date: Mon, 17 Jan 2005 20:57:57 +0000 Subject: source $PLAN9/config --- bin/9l | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/9l') diff --git a/bin/9l b/bin/9l index cd3d0ac9..7ea689d1 100755 --- a/bin/9l +++ b/bin/9l @@ -1,5 +1,6 @@ #!/bin/sh +test -f $PLAN9/config && . $PLAN9/config libsl="" doautolib=true @@ -173,7 +174,7 @@ case "$tag" in *Linux*) ld=gcc extralibs="$extralibs -lutil" - case "`uname -r`" in + case "${SYSVERSION:-`uname -r`}" in 2.6.*) extralibs="$extralibs -lpthread" ;; -- cgit v1.2.3