Module: kamailio Branch: 5.1 Commit: 5df0d505d220addf43f459b29cc80f9aecef19dc URL: https://github.com/kamailio/kamailio/commit/5df0d505d220addf43f459b29cc80f9a...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2018-03-14T11:26:17+01:00
auth_ephemeral: do pkg-config for libcrypto if exists
- discover all the libs to link against - related to GH #1473
(cherry picked from commit 021e7e53585f78b56356c98f25bd731c51f96f9a)
---
Modified: src/modules/auth_ephemeral/Makefile
---
Diff: https://github.com/kamailio/kamailio/commit/5df0d505d220addf43f459b29cc80f9a... Patch: https://github.com/kamailio/kamailio/commit/5df0d505d220addf43f459b29cc80f9a...
---
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),)