Add '--enable-libtls-only' build option

This commit is contained in:
Brent Cook
2021-04-05 02:32:35 -05:00
parent 141f7528cb
commit 921c0675a2
11 changed files with 90 additions and 67 deletions

View File

@@ -9,7 +9,13 @@ AM_CPPFLAGS += -I$(top_srcdir)/crypto/evp
AM_CPPFLAGS += -I$(top_srcdir)/crypto/modes
AM_CPPFLAGS += -I$(top_srcdir)/crypto
noinst_LTLIBRARIES = libcompat.la
if ENABLE_LIBTLS_ONLY
noinst_LTLIBRARIES += libcrypto.la
else
lib_LTLIBRARIES = libcrypto.la
endif
EXTRA_DIST = VERSION
EXTRA_DIST += CMakeLists.txt
@@ -126,8 +132,6 @@ else
libcrypto_la_CPPFLAGS += -DOPENSSLDIR=\"$(sysconfdir)/ssl\"
endif
noinst_LTLIBRARIES = libcompat.la
# compatibility functions that need to be built without optimizations
if !HAVE_EXPLICIT_BZERO
noinst_LTLIBRARIES += libcompatnoopt.la