aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2021-04-05 02:32:35 -0500
committerBrent Cook <busterb@gmail.com>2021-04-07 07:51:45 -0500
commit921c0675a25708d19e76aa8e3b48c4483a1a255d (patch)
treed68d125cdc968fd96cca6835fc347a2c8698a6ca /crypto
parent141f7528cb5610becd963d8c403c5b14afe73634 (diff)
downloadportable-921c0675a25708d19e76aa8e3b48c4483a1a255d.tar.gz
portable-921c0675a25708d19e76aa8e3b48c4483a1a255d.tar.bz2
portable-921c0675a25708d19e76aa8e3b48c4483a1a255d.zip
Add '--enable-libtls-only' build option
Diffstat (limited to 'crypto')
-rw-r--r--crypto/Makefile.am8
1 files changed, 6 insertions, 2 deletions
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
9AM_CPPFLAGS += -I$(top_srcdir)/crypto/modes 9AM_CPPFLAGS += -I$(top_srcdir)/crypto/modes
10AM_CPPFLAGS += -I$(top_srcdir)/crypto 10AM_CPPFLAGS += -I$(top_srcdir)/crypto
11 11
12noinst_LTLIBRARIES = libcompat.la
13
14if ENABLE_LIBTLS_ONLY
15noinst_LTLIBRARIES += libcrypto.la
16else
12lib_LTLIBRARIES = libcrypto.la 17lib_LTLIBRARIES = libcrypto.la
18endif
13 19
14EXTRA_DIST = VERSION 20EXTRA_DIST = VERSION
15EXTRA_DIST += CMakeLists.txt 21EXTRA_DIST += CMakeLists.txt
@@ -126,8 +132,6 @@ else
126libcrypto_la_CPPFLAGS += -DOPENSSLDIR=\"$(sysconfdir)/ssl\" 132libcrypto_la_CPPFLAGS += -DOPENSSLDIR=\"$(sysconfdir)/ssl\"
127endif 133endif
128 134
129noinst_LTLIBRARIES = libcompat.la
130
131# compatibility functions that need to be built without optimizations 135# compatibility functions that need to be built without optimizations
132if !HAVE_EXPLICIT_BZERO 136if !HAVE_EXPLICIT_BZERO
133noinst_LTLIBRARIES += libcompatnoopt.la 137noinst_LTLIBRARIES += libcompatnoopt.la