From 921c0675a25708d19e76aa8e3b48c4483a1a255d Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Mon, 5 Apr 2021 02:32:35 -0500 Subject: Add '--enable-libtls-only' build option --- crypto/Makefile.am | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'crypto') diff --git a/crypto/Makefile.am b/crypto/Makefile.am index e32ca96..8552a4d 100644 --- a/crypto/Makefile.am +++ b/crypto/Makefile.am @@ -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 -- cgit v1.2.3-55-g6feb