about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-06-27 23:11:10 +0200
committervan Hauser <vh@thc.org>2020-06-27 23:11:10 +0200
commitcd6954e3c16282a6fe2a8f37879a06605990cb58 (patch)
tree67eca526d03f0a0baa1a74e1539a3c73ea61e7d1
parent29e41a09d5a9250115eee5756a53b545ecd1ec55 (diff)
downloadafl++-cd6954e3c16282a6fe2a8f37879a06605990cb58.tar.gz
fix make static
-rw-r--r--GNUmakefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 41ac74e6..d95eaab1 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -69,10 +69,11 @@ ifeq "$(shell uname)" "SunOS"
 endif
 
 ifdef STATIC
-  $(info Compiling static version of binaries)
+  $(info Compiling static version of binaries, disabling python though)
   # Disable python for static compilation to simplify things
   PYTHON_OK=0
   PYFLAGS=
+  PYTHON_INCLUDE=/
 
   CFLAGS_OPT += -static
   LDFLAGS += -lm -lpthread -lz -lutil