about summary refs log tree commit diff
path: root/examples/afl_network_proxy/GNUmakefile
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-05-05 21:46:31 +0200
committervan Hauser <vh@thc.org>2020-05-05 21:46:31 +0200
commit0e5027d8d82526ee30f23efdc77abd2876cda1d0 (patch)
tree95edf56133ff6a83c1da504655c9db72ff91abf9 /examples/afl_network_proxy/GNUmakefile
parentdc795331910bb0f0b31a3eb66ccb71432d0a4e22 (diff)
downloadafl++-0e5027d8d82526ee30f23efdc77abd2876cda1d0.tar.gz
maybe_grow->ck_maybe_grow
Diffstat (limited to 'examples/afl_network_proxy/GNUmakefile')
-rw-r--r--examples/afl_network_proxy/GNUmakefile3
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)