aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2020-08-20 09:30:21 -0500
committerBrent Cook <busterb@gmail.com>2020-10-17 03:15:28 -0500
commit7b8b95a68cd78940c91f8ecc89e77e7c97b1bac3 (patch)
treebd162e62704ec0c8574a2fb973fd6b506b7e4429 /configure.ac
parent0ef7d54fbcc9f4e51d3f56479df8d2e24bb7c5ae (diff)
downloadportable-7b8b95a68cd78940c91f8ecc89e77e7c97b1bac3.tar.gz
portable-7b8b95a68cd78940c91f8ecc89e77e7c97b1bac3.tar.bz2
portable-7b8b95a68cd78940c91f8ecc89e77e7c97b1bac3.zip
Configure libtls and nc(1) to statically link to libcrypto/ssl
An issue that Reyk Floeter noted while building a Debian package for LibreSSL is that installing libtls along with OpenSSL causes linker issues since it will often pick up the wrong libcrypto/libssl. This change makes libtls statically link the object files it needs rather than relying on the shared libraries, effectively making libtls self-contained and able to be packaged independently. This should make it possible for other projects that also use libtls to be able to package support without requiring the target OS to ship libcrypto / libssl from LibreSSL. https://salsa.debian.org/reyk-guest/libressl/-/commit/678278df55ce866f2f363998ca690442fa786c66
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 75b88fe..3aca617 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,8 +29,7 @@ USER_CFLAGS="$CFLAGS"
29AC_PROG_CC([cc gcc]) 29AC_PROG_CC([cc gcc])
30AC_PROG_CC_STDC 30AC_PROG_CC_STDC
31AM_PROG_CC_C_O 31AM_PROG_CC_C_O
32AC_PROG_LIBTOOL 32LT_INIT([pic-only])
33LT_INIT
34 33
35CHECK_OS_OPTIONS 34CHECK_OS_OPTIONS
36 35