9l: link with -lresolv on Linux
LGTM=rsc R=rsc https://codereview.appspot.com/136520044
This commit is contained in:
parent
738e890b19
commit
fd3496d3ef
2 changed files with 1 additions and 3 deletions
2
bin/9l
2
bin/9l
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue