diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2022-03-02 14:11:36 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2022-03-02 18:27:38 +0100 |
commit | 5ae637afdee78946d12c798b55a116565c8130aa (patch) | |
tree | 48fcb8f33a2baae9017627e1b4d5c2d165f040ab /src/lib/Makefile.in | |
parent | e8559a4127a75993655a75e0595c76378873ae51 (diff) |
Drop support for non-gcrypt builds.remove/builds-without-gcrypt-support
* As there is now a builtin, lightweight libgcrypt
there is no need to disable tls-clho decryption.
* It is still possible to use a host libgcrypt
with `--with-local-libgcrypt'.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/lib/Makefile.in')
-rw-r--r-- | src/lib/Makefile.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/Makefile.in b/src/lib/Makefile.in index e3a3f9a9a..67ed0c758 100644 --- a/src/lib/Makefile.in +++ b/src/lib/Makefile.in @@ -25,6 +25,12 @@ NDPI_LIB_STATIC = libndpi.a NDPI_LIB_SHARED_BASE = libndpi.so NDPI_LIB_SHARED = $(NDPI_LIB_SHARED_BASE).@NDPI_VERSION_SHORT@ NDPI_LIBS = $(NDPI_LIB_STATIC) $(NDPI_LIB_SHARED) +USE_HOST_LIBGCRYPT = @USE_HOST_LIBGCRYPT@ + +ifneq ($(USE_HOST_LIBGCRYPT),0) +TMP_OBJS := $(OBJECTS) +OBJECTS = $(filter-out third_party/src/gcrypt_light.o,$(TMP_OBJS)) +endif ifneq ($(OS),Windows_NT) OS := $(shell uname) |