Module: kamailio Branch: 5.6 Commit: 873172351fae24ed8d74e9d5ce55a45f19b7bb01 URL: https://github.com/kamailio/kamailio/commit/873172351fae24ed8d74e9d5ce55a45f...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2022-06-16T09:36:01+02:00
tls: Makefile - link libdl dynamically
- libcrypto uses dlopen() and dlclose() - GH #3115
(cherry picked from commit 9529730c478aef83c9b84c98242bf8af4bf152ad)
---
Modified: src/modules/tlsa/Makefile
---
Diff: https://github.com/kamailio/kamailio/commit/873172351fae24ed8d74e9d5ce55a45f... Patch: https://github.com/kamailio/kamailio/commit/873172351fae24ed8d74e9d5ce55a45f...
---
diff --git a/src/modules/tlsa/Makefile b/src/modules/tlsa/Makefile index 9295898aadb..d97e8652137 100644 --- a/src/modules/tlsa/Makefile +++ b/src/modules/tlsa/Makefile @@ -39,7 +39,7 @@ ifneq ($(CRYPTO_BUILDER),) LIBS += $(shell $(CRYPTO_BUILDER) --libs-only-L) endif # ifneq ($(CRYPTO_BUILDER),)
- LIBS += -l:libssl.a -l:libcrypto.a -l:libz.a -l:libdl.a + LIBS += -l:libssl.a -l:libcrypto.a -l:libz.a -ldl # TODO: explore use of LIBS += -Wl,-Bstatic $(shell $(SSL_BUILDER) --libs-only-l)
else @@ -53,7 +53,7 @@ else # ifneq ($(SSL_BUILDER),) DEFS += -I$(LOCALBASE)/ssl/include LIBS += -L$(LOCALBASE)/lib -L$(LOCALBASE)/ssl/lib \ -L$(LOCALBASE)/lib64 -L$(LOCALBASE)/ssl/lib64 \ - -l:libssl.a -l:libcrypto.a -l:libz.a -l:libdl.a + -l:libssl.a -l:libcrypto.a -l:libz.a -ldl endif # ifneq ($(SSL_BUILDER),)
include ../../Makefile.modules