- discover all the libs to link against - related to GH #1473 (cherry picked from commit 021e7e53585f78b56356c98f25bd731c51f96f9a)
@@ -11,6 +11,14 @@ SSL_BUILDER=$(shell \
if pkg-config --exists libssl; then \
echo 'pkg-config libssl'; \
fi)
+
+ifneq ($(SSL_BUILDER),)
+SSL_BUILDER+=$(shell \
+ if pkg-config --exists libcrypto; then \
+ echo 'libcrypto'; \
+ fi)
+endif
endif
ifneq ($(SSL_BUILDER),)