9l: link with -lresolv on Linux

LGTM=rsc
R=rsc
https://codereview.appspot.com/136520044
This commit is contained in:
David du Colombier 2014-10-20 22:21:43 +02:00
parent 738e890b19
commit fd3496d3ef
2 changed files with 1 additions and 3 deletions

2
bin/9l
View file

@ -38,7 +38,7 @@ case "$tag" in
*Linux*)
ld=${CC9:-gcc}
userpath=true
extralibs="$extralibs -lutil"
extralibs="$extralibs -lutil -lresolv"
case "${SYSVERSION:-`uname -r`}" in
2.6.* | 3.*)
extralibs="$extralibs -lpthread"