Module: kamailio
Branch: master
Commit: 2a79d77faa107b73e22717649776430524d9e597
URL:
https://github.com/kamailio/kamailio/commit/2a79d77faa107b73e22717649776430…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2023-05-15T22:34:59+02:00
Revert "tls_wolfssl: use wolfssl lib from system if available"
This reverts commit 14b1f79c29f317c74bbcbba75853ce45c353a865.
---
Modified: src/modules/tls_wolfssl/Makefile
---
Diff:
https://github.com/kamailio/kamailio/commit/2a79d77faa107b73e22717649776430…
Patch:
https://github.com/kamailio/kamailio/commit/2a79d77faa107b73e22717649776430…
---
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}; \