about summary refs log tree commit diff
path: root/examples/afl_network_proxy/GNUmakefile
diff options
context:
space:
mode:
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)