From d70af27d0152d0a87a25127faf215604beb8ffe0 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 16 Nov 2012 10:48:13 -0500 Subject: [PATCH] Use correct openssl libs and includes in pkgconfig file Previously we were saying -lssl -lcrypto unconditionally when we should have been saying OPENSSL_LIBS. Based on a patch from Patrick Pelletier --- libevent_openssl.pc.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libevent_openssl.pc.in b/libevent_openssl.pc.in index 9624cf24..a65d1e06 100644 --- a/libevent_openssl.pc.in +++ b/libevent_openssl.pc.in @@ -11,6 +11,6 @@ Version: @VERSION@ Requires: libevent Conflicts: Libs: -L${libdir} -levent_openssl -Libs.private: @LIBS@ -lssl -lcrypto -Cflags: -I${includedir} +Libs.private: @LIBS@ @OPENSSL_LIBS@ +Cflags: -I${includedir} @OPENSSL_INCS@ -- 2.40.0