Module: kamailio
Branch: 5.7
Commit: 87aebe3be58a757843d3846174bc3b6224cf36c8
URL:
https://github.com/kamailio/kamailio/commit/87aebe3be58a757843d3846174bc3b6…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2023-05-15T22:33:33+02:00
Revert "tls_wolfssl: use wolfssl lib from system if available"
This reverts commit 8ed9cf81c045d7946b07d8c98686acf92cd68776.
---
Modified: src/modules/tls_wolfssl/Makefile
---
Diff:
https://github.com/kamailio/kamailio/commit/87aebe3be58a757843d3846174bc3b6…
Patch:
https://github.com/kamailio/kamailio/commit/87aebe3be58a757843d3846174bc3b6…
---
diff --git a/src/modules/tls_wolfssl/Makefile b/src/modules/tls_wolfssl/Makefile
index 0eaa83c615f..75ec31b204d 100644
--- a/src/modules/tls_wolfssl/Makefile
+++ b/src/modules/tls_wolfssl/Makefile
@@ -8,12 +8,6 @@ include ../../Makefile.defs
auto_gen=
NAME=tls_wolfssl.so
-WOLF_BUILDER = $(shell \
- if pkg-config --exists wolfssl; then \
- echo 'pkg-config wolfssl'; \
- fi)
-
-ifeq ($(WOLF_BUILDER),)
WOLFSSL_PREFIX = ../../../misc/external/wolfssl/build
WOLFSSL_SRC = ../../../misc/external/wolfssl/wolfssl
@@ -39,12 +33,6 @@ $(WOLFSSL_PREFIX)/include/wolfssl/options.h
$(WOLFSSL_PREFIX)/lib/libwolfssl.a:
@$(MAKE) -C $(WOLFSSL_SRC) install
$(NAME): $(WOLFSSL_PREFIX)/lib/libwolfssl.a
-else
- DEFS += $(shell $(WOLF_BUILDER) --cflags)
- LIBS += $(shell $(WOLF_BUILDER) --libs)
-
- include ../../Makefile.modules
-endif
clean-wolfssl:
@rm -rf $(WOLFSSL_PREFIX)/{bin,include,share,lib}; \