mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
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"
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
#include <ndb.h>
|
||||
#include "ndbhf.h"
|
||||
|
||||
AUTOLIB(resolv)
|
||||
|
||||
static void nstrcpy(char*, char*, int);
|
||||
static void mkptrname(char*, char*, int);
|
||||
static Ndbtuple *doquery(char*, char*);
|
||||
|
|
Loading…
Reference in a new issue