about 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-04 17:57:15 -0500
commite94575b09ba6553d3f8c50531f3ee8457ea1671c (patch)
tree7274e83c1014384b0d1fb435bbde5c67e5e11cdc
parentImplement getservinfo for SRV lookup (diff)
downloadimbox-e94575b09ba6553d3f8c50531f3ee8457ea1671c.tar.gz
imbox-e94575b09ba6553d3f8c50531f3ee8457ea1671c.zip
Add -lresolv on macOS
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index ccea81d..3b57019 100755
--- a/configure
+++ b/configure
@@ -44,6 +44,10 @@ case "$(uname)" in
 		config libtls
 		echo 'OBJS += compat.o'
 		;;
+	(Darwin)
+		ldlibs -lresolv
+		config libtls
+		;;
 	(*)
 		config libtls
 		;;