about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDominik Maier <domenukk@gmail.com>2020-02-03 19:35:14 +0100
committerDominik Maier <domenukk@gmail.com>2020-02-03 19:35:14 +0100
commit3c8cf0c53f79fa2926f699e5195969a329897a86 (patch)
tree28d898bbde914e3e241f75afd6d23a7ac60f32a4
parentacaf99cd0585a8ebec100a4dc62225e1acec9f5c (diff)
downloadafl++-3c8cf0c53f79fa2926f699e5195969a329897a86.tar.gz
Revert "fixed build on python 3.8"
This reverts commit 9861213ad6449507bb4fa6003361da9e2bc6fd8c.
-rw-r--r--Makefile16
l---------PATCHES2
l---------QuickStartGuide.md2
3 files changed, 10 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 9a31dee0..da3d0766 100644
--- a/Makefile
+++ b/Makefile
@@ -63,24 +63,24 @@ CFLAGS     += -Wall -g -Wno-pointer-sign -I include/ \
 
 AFL_FUZZ_FILES = $(wildcard src/afl-fuzz*.c)
 
-ifneq "$(shell which python3m 2>/dev/null)" ""
-  ifneq "$(shell which python3m-config 2>/dev/null)" ""
+ifneq "$(shell which python3m)" ""
+  ifneq "$(shell which python3m-config)" ""
     PYTHON_INCLUDE  ?= $(shell python3m-config --includes)
-    PYTHON_LIB      ?= $(shell python3m-config --libs --embed)
+    PYTHON_LIB      ?= $(shell python3m-config --ldflags)
     PYTHON_VERSION  ?= $(strip $(shell python3m --version 2>&1))
   endif
 endif
 
-ifneq "$(shell which python3 2>/dev/null)" ""
-  ifneq "$(shell which python3-config 2>/dev/null)" ""
+ifneq "$(shell which python3)" ""
+  ifneq "$(shell which python3-config)" ""
     PYTHON_INCLUDE  ?= $(shell python3-config --includes)
-    PYTHON_LIB      ?= $(shell python3-config --libs --embed)
+    PYTHON_LIB      ?= $(shell python3-config --ldflags)
     PYTHON_VERSION  ?= $(strip $(shell python3 --version 2>&1))
   endif
 endif
 
-ifneq "$(shell which python 2>/dev/null)" ""
-  ifneq "$(shell which python-config 2>/dev/null)" ""
+ifneq "$(shell which python)" ""
+  ifneq "$(shell which python-config)" ""
     PYTHON_INCLUDE  ?= $(shell python-config --includes)
     PYTHON_LIB      ?= $(shell python-config --ldflags)
     PYTHON_VERSION  ?= $(strip $(shell python --version 2>&1))
diff --git a/PATCHES b/PATCHES
index b073b483..b34f8c1d 120000
--- a/PATCHES
+++ b/PATCHES
@@ -1 +1 @@
-unsupported reparse point
\ No newline at end of file
+docs/PATCHES
\ No newline at end of file
diff --git a/QuickStartGuide.md b/QuickStartGuide.md
index b073b483..8136d85e 120000
--- a/QuickStartGuide.md
+++ b/QuickStartGuide.md
@@ -1 +1 @@
-unsupported reparse point
\ No newline at end of file
+docs/QuickStartGuide.md
\ No newline at end of file