diff options
Diffstat (limited to 'sbin/hastctl')
-rw-r--r-- | sbin/hastctl/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sbin/hastctl/Makefile b/sbin/hastctl/Makefile index e0d6b5b..301493c 100644 --- a/sbin/hastctl/Makefile +++ b/sbin/hastctl/Makefile @@ -25,8 +25,13 @@ CFLAGS+=-DINET6 # This is needed to have WARNS > 1. CFLAGS+=-DYY_NO_UNPUT -DPADD= ${LIBCRYPTO} ${LIBL} -LDADD= -lcrypto -ll +DPADD= ${LIBL} +LDADD= -ll +.if ${MK_OPENSSL} != "no" +DPADD+= ${LIBCRYPTO} +LDADD+= -lcrypto +CFLAGS+=-DHAVE_CRYPTO +.endif YFLAGS+=-v |