about summary refs log tree commit diff
path: root/configure
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2022-03-02 20:42:00 -0500
committerJune McEnroe <june@causal.agency>2022-03-02 20:42:00 -0500
commitce54b769a3eb6eab8cc61804fdcef0c26993b0fb (patch)
tree9c3ca1178c791b2941883b4e0b31c2f6054b7f37 /configure
parentSpecify commands which depend on caps (diff)
downloadcatgirl-ce54b769a3eb6eab8cc61804fdcef0c26993b0fb.tar.gz
catgirl-ce54b769a3eb6eab8cc61804fdcef0c26993b0fb.zip
Add empty enroll program
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 9465b77..f569f80 100755
--- a/configure
+++ b/configure
@@ -44,13 +44,15 @@ case "$(uname)" in
 	(Linux)
 		cflags -Wno-pedantic -D_GNU_SOURCE
 		config libtls ncursesw
+		ldadd resolv -lresolv
 		defvar OPENSSL_BIN openssl exec_prefix /bin/openssl
-		echo 'OBJS += compat_readpassphrase.o'
+		echo 'OBJS.compat += compat_readpassphrase.o'
 		;;
 	(Darwin)
 		cflags -D__STDC_WANT_LIB_EXT1__=1
 		cflags "-D'explicit_bzero(b,l)=memset_s((b),(l),0,(l))'"
 		config libtls ncursesw
+		ldadd resolv -lresolv
 		defvar OPENSSL_BIN openssl exec_prefix /bin/openssl
 		;;
 	(*)