Module: kamailio
Branch: master
Commit: 021e7e53585f78b56356c98f25bd731c51f96f9a
URL:
https://github.com/kamailio/kamailio/commit/021e7e53585f78b56356c98f25bd731…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-03-14T11:15:51+01:00
auth_ephemeral: do pkg-config for libcrypto if exists
- discover all the libs to link against
- related to GH #1473
---
Modified: src/modules/auth_ephemeral/Makefile
---
Diff:
https://github.com/kamailio/kamailio/commit/021e7e53585f78b56356c98f25bd731…
Patch:
https://github.com/kamailio/kamailio/commit/021e7e53585f78b56356c98f25bd731…
---
diff --git a/src/modules/auth_ephemeral/Makefile b/src/modules/auth_ephemeral/Makefile
index 6701ee9e23..5c066502af 100644
--- a/src/modules/auth_ephemeral/Makefile
+++ b/src/modules/auth_ephemeral/Makefile
@@ -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),)