From de4a123930ebd916bfafbcc4f8584e6181d912b6 Mon Sep 17 00:00:00 2001 From: Martin Herkt Date: Thu, 27 Aug 2015 20:54:29 +0200 Subject: [PATCH] pc: add platform-specific libs to Libs.private Fixes compilations including libressl static libraries in MinGW. Signed-off-by: Ricardo Constantino (:RiCON) --- libcrypto.pc.in | 2 +- libssl.pc.in | 2 +- libtls.pc.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libcrypto.pc.in b/libcrypto.pc.in index 4e886b9..fa9c3a9 100644 --- a/libcrypto.pc.in +++ b/libcrypto.pc.in @@ -11,5 +11,5 @@ Version: @VERSION@ Requires: Conflicts: Libs: -L${libdir} -lcrypto -Libs.private: @LIBS@ +Libs.private: @LIBS@ @PLATFORM_LDADD@ Cflags: -I${includedir} diff --git a/libssl.pc.in b/libssl.pc.in index 43b8bb7..ae61aec 100644 --- a/libssl.pc.in +++ b/libssl.pc.in @@ -12,5 +12,5 @@ Requires: Requires.private: libcrypto Conflicts: Libs: -L${libdir} -lssl -Libs.private: @LIBS@ -lcrypto +Libs.private: @LIBS@ -lcrypto @PLATFORM_LDADD@ Cflags: -I${includedir} diff --git a/libtls.pc.in b/libtls.pc.in index 19e6b32..82a6a71 100644 --- a/libtls.pc.in +++ b/libtls.pc.in @@ -12,5 +12,5 @@ Requires: Requires.private: libcrypto libssl Conflicts: Libs: -L${libdir} -ltls -Libs.private: @LIBS@ -lcrypto -lssl +Libs.private: @LIBS@ -lcrypto -lssl @PLATFORM_LDADD@ Cflags: -I${includedir}