mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
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
|
@ -10,6 +10,7 @@ Anthony Martin <ality@pbrane.org>
|
||||||
Anthony Sorace <a@9srv.net>
|
Anthony Sorace <a@9srv.net>
|
||||||
Arvindh Rajesh Tamilmani <art@a-30.net>
|
Arvindh Rajesh Tamilmani <art@a-30.net>
|
||||||
Benjamin Huntsman <BHuntsman@mail2.cu-portland.edu>
|
Benjamin Huntsman <BHuntsman@mail2.cu-portland.edu>
|
||||||
|
Christopher Brannon <chris@the-brannons.com>
|
||||||
David du Colombier <0intro@gmail.com>
|
David du Colombier <0intro@gmail.com>
|
||||||
David Jeannot <djeannot24@gmail.com>
|
David Jeannot <djeannot24@gmail.com>
|
||||||
David Swasey <david.swasey@gmail.com>
|
David Swasey <david.swasey@gmail.com>
|
||||||
|
|
3
bin/9l
3
bin/9l
|
@ -40,7 +40,7 @@ case "$tag" in
|
||||||
userpath=true
|
userpath=true
|
||||||
extralibs="$extralibs -lutil"
|
extralibs="$extralibs -lutil"
|
||||||
case "${SYSVERSION:-`uname -r`}" in
|
case "${SYSVERSION:-`uname -r`}" in
|
||||||
2.6.*)
|
2.6.* | 3.*)
|
||||||
extralibs="$extralibs -lpthread"
|
extralibs="$extralibs -lpthread"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
@ -297,6 +297,7 @@ then
|
||||||
autoframeworks=""
|
autoframeworks=""
|
||||||
if [ "x$ofiles" != "x" ]
|
if [ "x$ofiles" != "x" ]
|
||||||
then
|
then
|
||||||
|
echo >&2 ofiles $ofiles
|
||||||
a=`
|
a=`
|
||||||
nm $ofiles |
|
nm $ofiles |
|
||||||
grep '__p9l_autoframework_[a-zA-Z0-9+-]*$' |
|
grep '__p9l_autoframework_[a-zA-Z0-9+-]*$' |
|
||||||
|
|
Loading…
Reference in a new issue