summary refs log tree commit diff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-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
 		;;