diff options
author | Brent Cook <busterb@gmail.com> | 2021-04-05 02:32:35 -0500 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2021-04-07 07:51:45 -0500 |
commit | 921c0675a25708d19e76aa8e3b48c4483a1a255d (patch) | |
tree | d68d125cdc968fd96cca6835fc347a2c8698a6ca /crypto | |
parent | 141f7528cb5610becd963d8c403c5b14afe73634 (diff) | |
download | portable-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.am | 8 |
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 | |||
9 | AM_CPPFLAGS += -I$(top_srcdir)/crypto/modes | 9 | AM_CPPFLAGS += -I$(top_srcdir)/crypto/modes |
10 | AM_CPPFLAGS += -I$(top_srcdir)/crypto | 10 | AM_CPPFLAGS += -I$(top_srcdir)/crypto |
11 | 11 | ||
12 | noinst_LTLIBRARIES = libcompat.la | ||
13 | |||
14 | if ENABLE_LIBTLS_ONLY | ||
15 | noinst_LTLIBRARIES += libcrypto.la | ||
16 | else | ||
12 | lib_LTLIBRARIES = libcrypto.la | 17 | lib_LTLIBRARIES = libcrypto.la |
18 | endif | ||
13 | 19 | ||
14 | EXTRA_DIST = VERSION | 20 | EXTRA_DIST = VERSION |
15 | EXTRA_DIST += CMakeLists.txt | 21 | EXTRA_DIST += CMakeLists.txt |
@@ -126,8 +132,6 @@ else | |||
126 | libcrypto_la_CPPFLAGS += -DOPENSSLDIR=\"$(sysconfdir)/ssl\" | 132 | libcrypto_la_CPPFLAGS += -DOPENSSLDIR=\"$(sysconfdir)/ssl\" |
127 | endif | 133 | endif |
128 | 134 | ||
129 | noinst_LTLIBRARIES = libcompat.la | ||
130 | |||
131 | # compatibility functions that need to be built without optimizations | 135 | # compatibility functions that need to be built without optimizations |
132 | if !HAVE_EXPLICIT_BZERO | 136 | if !HAVE_EXPLICIT_BZERO |
133 | noinst_LTLIBRARIES += libcompatnoopt.la | 137 | noinst_LTLIBRARIES += libcompatnoopt.la |