From 5f0bb59e0d8278945d08c167a986ef3cc691d212 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sat, 14 Jul 2012 08:50:07 -0400 Subject: 9l: fix for Linux 3.x (thanks Christopher Brannon) R=rsc http://codereview.appspot.com/6395047 --- bin/9l | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/9l b/bin/9l index 864b2f1f..3043c1c8 100755 --- a/bin/9l +++ b/bin/9l @@ -40,7 +40,7 @@ case "$tag" in userpath=true extralibs="$extralibs -lutil" case "${SYSVERSION:-`uname -r`}" in - 2.6.*) + 2.6.* | 3.*) extralibs="$extralibs -lpthread" ;; esac @@ -297,6 +297,7 @@ then autoframeworks="" if [ "x$ofiles" != "x" ] then +echo >&2 ofiles $ofiles a=` nm $ofiles | grep '__p9l_autoframework_[a-zA-Z0-9+-]*$' | -- cgit v1.2.3