9l: fix for Linux 3.x (thanks Christopher Brannon)
R=rsc http://codereview.appspot.com/6395047
This commit is contained in:
parent
9d4f8bfecc
commit
5f0bb59e0d
2 changed files with 3 additions and 1 deletions
3
bin/9l
3
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+-]*$' |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue