diff options
Diffstat (limited to 'package/targets.mak')
-rw-r--r-- | package/targets.mak | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package/targets.mak b/package/targets.mak index 4fa79dc..ca34bdb 100644 --- a/package/targets.mak +++ b/package/targets.mak @@ -23,7 +23,6 @@ LIB_DEFS := S6NET=s6net ifneq ($(SSL_IMPL),) BIN_TARGETS += s6-tlsclient s6-tlsc s6-tlsc-io s6-tlsserver s6-tlsd s6-tlsd-io s6-ucspitlsc s6-ucspitlsd -INTERNAL_LIBS += libs6tls.a.xyzzy ifeq ($(SSL_IMPL),tls) @@ -35,5 +34,9 @@ else ifeq ($(SSL_IMPL),bearssl) LIB_DEFS += CRYPTOSUPPORT=sbearssl CRYPTO_LIB := -lbearssl +else + +CRYPTO_LIB := $(error invalid SSL_IMPL. Please configure with --enable-ssl=bearssl or --enable-ssl=libtls.) + endif endif |