[sr-dev] git:master:021e7e53: auth_ephemeral: do pkg-config for libcrypto if exists

Daniel-Constantin Mierla miconda at gmail.com
Wed Mar 14 11:17:55 CET 2018


Module: kamailio
Branch: master
Commit: 021e7e53585f78b56356c98f25bd731c51f96f9a
URL: https://github.com/kamailio/kamailio/commit/021e7e53585f78b56356c98f25bd731c51f96f9a

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/021e7e53585f78b56356c98f25bd731c51f96f9a.diff
Patch: https://github.com/kamailio/kamailio/commit/021e7e53585f78b56356c98f25bd731c51f96f9a.patch

---

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),)




More information about the sr-dev mailing list