From 0e5027d8d82526ee30f23efdc77abd2876cda1d0 Mon Sep 17 00:00:00 2001 From: van Hauser Date: Tue, 5 May 2020 21:46:31 +0200 Subject: maybe_grow->ck_maybe_grow --- examples/afl_network_proxy/GNUmakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples/afl_network_proxy/GNUmakefile') diff --git a/examples/afl_network_proxy/GNUmakefile b/examples/afl_network_proxy/GNUmakefile index eafc5249..cf1cbad5 100644 --- a/examples/afl_network_proxy/GNUmakefile +++ b/examples/afl_network_proxy/GNUmakefile @@ -11,7 +11,8 @@ ifdef STATIC endif ifeq "$(shell echo '$(HASH)include @int main() { struct libdeflate_compressor *d = libdeflate_alloc_compressor(1); return 0;}' | tr @ '\n' | $(CC) $(CFLAGS) -x c - -o .test2 -ldeflate 2>/dev/null && echo 1 || echo 0 ; rm -f .test2 )" "1" - CFLAGS += -ldeflate -DUSE_DEFLATE=1 + CFLAGS += -DUSE_DEFLATE=1 + LDFLAGS += -ldeflate $(info libdeflate-dev was detected, using compression) else $(warn did not find libdeflate-dev, cannot use compression) -- cgit 1.4.1