diff options
Diffstat (limited to 'bin/9l')
-rwxr-xr-x | bin/9l | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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" |