Module: kamailio Branch: 5.7 Commit: 74636a9bf53524a6d60351c1569a033270677d6c URL: https://github.com/kamailio/kamailio/commit/74636a9bf53524a6d60351c1569a0332...
Author: S-P Chan shihping.chan@gmail.com Committer: S-P Chan shihping.chan@gmail.com Date: 2024-02-04T10:11:45+08:00
Revert "tls_wolfssl: enable building with external package"
This reverts commit 53ce759091f78ffecc6b4047ff3e8885329d718f.
< 5.8 does not have 16-byte memory alignment
---
Modified: src/modules/tls_wolfssl/Makefile
---
Diff: https://github.com/kamailio/kamailio/commit/74636a9bf53524a6d60351c1569a0332... Patch: https://github.com/kamailio/kamailio/commit/74636a9bf53524a6d60351c1569a0332...
---
diff --git a/src/modules/tls_wolfssl/Makefile b/src/modules/tls_wolfssl/Makefile index 98239c43183..5ef95d697b6 100644 --- a/src/modules/tls_wolfssl/Makefile +++ b/src/modules/tls_wolfssl/Makefile @@ -8,13 +8,6 @@ include ../../Makefile.defs auto_gen= NAME=tls_wolfssl.so
-# make WOLFSSL_INTERNAL=yes... for internal submodule -# make WOLFSSL_INTERNAL=no... for system package -# default: yes - -WOLFSSL_INTERNAL ?= yes - -ifeq ($(WOLFSSL_INTERNAL),yes) WOLFSSL_PREFIX = ../../../misc/external/wolfssl/build WOLFSSL_SRC = ../../../misc/external/wolfssl/wolfssl
@@ -41,15 +34,6 @@ $(WOLFSSL_PREFIX)/include/wolfssl/options.h $(WOLFSSL_PREFIX)/lib/libwolfssl.a:
$(NAME): $(WOLFSSL_PREFIX)/lib/libwolfssl.a
-else -WOLFSSL_LIBS ?= $(shell pkg-config wolfssl --libs) -WOLFSSL_INCLUDES ?= $(shell pkg-config wolfssl --cflags) - -LIBS += $(WOLFSSL_LIBS) -INCLUDES += $(WOLFSSL_INCLUDES) -include ../../Makefile.modules -endif - clean-wolfssl: @rm -rf $(WOLFSSL_PREFIX)/{bin,include,share,lib}; \ (cd $(WOLFSSL_SRC); make distclean) || /bin/true