Skip to content

Commit 3c8cf0c

Browse files
committed
Revert "fixed build on python 3.8"
This reverts commit 9861213.
1 parent acaf99c commit 3c8cf0c

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

Makefile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,24 +63,24 @@ CFLAGS += -Wall -g -Wno-pointer-sign -I include/ \
6363

6464
AFL_FUZZ_FILES = $(wildcard src/afl-fuzz*.c)
6565

66-
ifneq "$(shell which python3m 2>/dev/null)" ""
67-
ifneq "$(shell which python3m-config 2>/dev/null)" ""
66+
ifneq "$(shell which python3m)" ""
67+
ifneq "$(shell which python3m-config)" ""
6868
PYTHON_INCLUDE ?= $(shell python3m-config --includes)
69-
PYTHON_LIB ?= $(shell python3m-config --libs --embed)
69+
PYTHON_LIB ?= $(shell python3m-config --ldflags)
7070
PYTHON_VERSION ?= $(strip $(shell python3m --version 2>&1))
7171
endif
7272
endif
7373

74-
ifneq "$(shell which python3 2>/dev/null)" ""
75-
ifneq "$(shell which python3-config 2>/dev/null)" ""
74+
ifneq "$(shell which python3)" ""
75+
ifneq "$(shell which python3-config)" ""
7676
PYTHON_INCLUDE ?= $(shell python3-config --includes)
77-
PYTHON_LIB ?= $(shell python3-config --libs --embed)
77+
PYTHON_LIB ?= $(shell python3-config --ldflags)
7878
PYTHON_VERSION ?= $(strip $(shell python3 --version 2>&1))
7979
endif
8080
endif
8181

82-
ifneq "$(shell which python 2>/dev/null)" ""
83-
ifneq "$(shell which python-config 2>/dev/null)" ""
82+
ifneq "$(shell which python)" ""
83+
ifneq "$(shell which python-config)" ""
8484
PYTHON_INCLUDE ?= $(shell python-config --includes)
8585
PYTHON_LIB ?= $(shell python-config --ldflags)
8686
PYTHON_VERSION ?= $(strip $(shell python --version 2>&1))

PATCHES

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
unsupported reparse point
1+
docs/PATCHES

QuickStartGuide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
unsupported reparse point
1+
docs/QuickStartGuide.md

0 commit comments

Comments
 (0)