summaryrefslogtreecommitdiffstats
path: root/tools/libressl/patches/011-fix-linking.patch
blob: 491f0c5e991bf19c849dba8ce563f4aef61d7b90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- a/libcrypto.pc.in
+++ b/libcrypto.pc.in
@@ -23,6 +23,5 @@ includedir=@includedir@
 Name: LibreSSL-libcrypto
 Description: LibreSSL cryptography library
 Version: @VERSION@
-Libs: -L${libdir} -lcrypto
-Libs.private: @LIBS@ @PLATFORM_LDADD@
+Libs: -L${libdir} -lcrypto @LIBS@ @PLATFORM_LDADD@
 Cflags: -I${includedir}
--- a/libssl.pc.in
+++ b/libssl.pc.in
@@ -23,6 +23,6 @@ includedir=@includedir@
 Name: LibreSSL-libssl
 Description: Secure Sockets Layer and cryptography libraries
 Version: @VERSION@
-Requires.private: libcrypto
+Requires: libcrypto
 Libs: -L${libdir} -lssl
 Cflags: -I${includedir}
--- a/libtls.pc.in
+++ b/libtls.pc.in
@@ -23,6 +23,5 @@ includedir=@includedir@
 Name: LibreSSL-libtls
 Description: Secure communications using the TLS socket protocol.
 Version: @VERSION@
-Libs: -L${libdir} -ltls
-Libs.private: @LIBS@ @PLATFORM_LDADD@ -lssl -lcrypto
+Libs: -L${libdir} -ltls @LIBS@ @PLATFORM_LDADD@ -lssl -lcrypto
 Cflags: -I${includedir}