summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-12-04 17:57:15 -0500
committerJune McEnroe <june@causal.agency>2020-12-15 18:13:30 -0500
commit7ecd8a412cbeac814a586e125228f5b31aaea803 (patch)
treed98f0bc67417fe1c63ae783ac6997c4c7ccb5e04
parentImplement getservinfo for SRV lookup (diff)
downloadnotemap-7ecd8a412cbeac814a586e125228f5b31aaea803.tar.gz
notemap-7ecd8a412cbeac814a586e125228f5b31aaea803.zip
Add -lresolv on macOS, Linux
Diffstat (limited to '')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index ccea81d..907a369 100755
--- a/configure
+++ b/configure
@@ -41,9 +41,14 @@ case "$(uname)" in
 		;;
 	(Linux)
 		cflags -D_GNU_SOURCE -DDECLARE_RPP
+		ldlibs -lresolv
 		config libtls
 		echo 'OBJS += compat.o'
 		;;
+	(Darwin)
+		ldlibs -lresolv
+		config libtls
+		;;
 	(*)
 		config libtls
 		;;