aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDavid du Colombier <0intro@gmail.com>2014-10-20 22:21:43 +0200
committerDavid du Colombier <0intro@gmail.com>2014-10-20 22:21:43 +0200
commitfd3496d3ef1b3f27c670c25278cbb0304f74a706 (patch)
treedd6174731514b23b40418b985a7d3b7dc6672af7 /bin
parent738e890b19eb560e557197aa59598a5e08983a28 (diff)
downloadplan9port-fd3496d3ef1b3f27c670c25278cbb0304f74a706.tar.gz
plan9port-fd3496d3ef1b3f27c670c25278cbb0304f74a706.tar.bz2
plan9port-fd3496d3ef1b3f27c670c25278cbb0304f74a706.zip
9l: link with -lresolv on Linux
LGTM=rsc R=rsc https://codereview.appspot.com/136520044
Diffstat (limited to 'bin')
-rwxr-xr-xbin/9l2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/9l b/bin/9l
index d07bd892..0b57319d 100755
--- a/bin/9l
+++ b/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"