summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index fbb07e138..4ba9dabd0 100755
--- a/configure
+++ b/configure
@@ -388,7 +388,8 @@ sub getosflags {
# socket = bsd sockets api
# nsl = dns stuff
# rt = POSIX realtime extensions
- $config{LDLIBS} = $config{LDLIBS} . " -lsocket -lnsl -lrt";
+ # resolv = inet_aton only (why isnt this in nsl?!)
+ $config{LDLIBS} = $config{LDLIBS} . " -lsocket -lnsl -lrt -lresolv";
}
}