summaryrefslogtreecommitdiff
path: root/libevent_openssl.pc.in
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-11-16 10:48:13 -0500
committerNick Mathewson <nickm@torproject.org>2012-11-16 10:50:04 -0500
commitd70af27d0152d0a87a25127faf215604beb8ffe0 (patch)
treed074509a096756bb477aa9a3317d58af28c9634d /libevent_openssl.pc.in
parent09a8d23ad9d5d7040fa4f6f128ef871453ca12f3 (diff)
downloadlibevent-d70af27d0152d0a87a25127faf215604beb8ffe0.tar.gz
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
Diffstat (limited to 'libevent_openssl.pc.in')
-rw-r--r--libevent_openssl.pc.in4
1 files 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@