diff options
author | van Hauser <vh@thc.org> | 2020-05-05 21:46:31 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-05-05 21:46:31 +0200 |
commit | 0e5027d8d82526ee30f23efdc77abd2876cda1d0 (patch) | |
tree | 95edf56133ff6a83c1da504655c9db72ff91abf9 /examples/afl_network_proxy/GNUmakefile | |
parent | dc795331910bb0f0b31a3eb66ccb71432d0a4e22 (diff) | |
download | afl++-0e5027d8d82526ee30f23efdc77abd2876cda1d0.tar.gz |
maybe_grow->ck_maybe_grow
Diffstat (limited to 'examples/afl_network_proxy/GNUmakefile')
-rw-r--r-- | examples/afl_network_proxy/GNUmakefile | 3 |
1 files changed, 2 insertions, 1 deletions
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 <libdeflate.h>@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) |