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
This commit is contained in:
Nick Mathewson 2012-11-16 10:48:13 -05:00
parent 09a8d23ad9
commit d70af27d01

View File

@ -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@