Fixes linkage for Ubuntu Wily (15.10). The issue manifests itself as "undefined symbol: SHA1" error at module loading.
@@ -13,6 +13,12 @@ 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),)