aboutsummaryrefslogtreecommitdiff
path: root/bin/9l
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2012-07-14 08:50:07 -0400
committerRuss Cox <rsc@swtch.com>2012-07-14 08:50:07 -0400
commit5f0bb59e0d8278945d08c167a986ef3cc691d212 (patch)
tree372ef4f85fe95b5da27a200d69bc7b2fda5ddfa5 /bin/9l
parent9d4f8bfecc30b6699685068dd4344b40733efdd1 (diff)
downloadplan9port-5f0bb59e0d8278945d08c167a986ef3cc691d212.tar.gz
plan9port-5f0bb59e0d8278945d08c167a986ef3cc691d212.tar.bz2
plan9port-5f0bb59e0d8278945d08c167a986ef3cc691d212.zip
9l: fix for Linux 3.x (thanks Christopher Brannon)
R=rsc http://codereview.appspot.com/6395047
Diffstat (limited to 'bin/9l')
-rwxr-xr-xbin/9l3
1 files changed, 2 insertions, 1 deletions
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+-]*$' |