aboutsummaryrefslogtreecommitdiff
path: root/libtls.pc.in
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 /libtls.pc.in
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 'libtls.pc.in')
-rw-r--r--libtls.pc.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/libtls.pc.in b/libtls.pc.in
index 82a6a71..0d4e625 100644
--- a/libtls.pc.in
+++ b/libtls.pc.in
@@ -9,8 +9,7 @@ Name: LibreSSL-libtls
9Description: Secure communications using the TLS socket protocol. 9Description: Secure communications using the TLS socket protocol.
10Version: @VERSION@ 10Version: @VERSION@
11Requires: 11Requires:
12Requires.private: libcrypto libssl
13Conflicts: 12Conflicts:
14Libs: -L${libdir} -ltls 13Libs: -L${libdir} -ltls
15Libs.private: @LIBS@ -lcrypto -lssl @PLATFORM_LDADD@ 14Libs.private: @LIBS@ @PLATFORM_LDADD@
16Cflags: -I${includedir} 15Cflags: -I${includedir}