Bite the bullet. Have to use different

binaries on 2.4 and 2.6.
This commit is contained in:
rsc 2004-09-17 22:09:31 +00:00
parent b4c842f139
commit 282c88f9de
4 changed files with 21 additions and 92 deletions

7
bin/9l
View file

@ -10,7 +10,12 @@ case "$tag" in
extralibs="$extralibs -lutil"
;;
*Linux*) ld=gcc
extralibs="$extralibs -lutil -lpthread"
extralibs="$extralibs -lutil"
case "`uname -r`" in
2.6.*)
extralibs="$extralibs -lpthread"
;;
esac
;;
*Darwin*) ld=gcc ;;
*SunOS*) ld="${CC9:-cc} -g"