diff options
| author | h1994st <h1994st@gmail.com> | 2020-03-02 15:27:31 -0500 |
|---|---|---|
| committer | h1994st <h1994st@gmail.com> | 2020-03-02 15:27:31 -0500 |
| commit | 031946136bb61990d03d7cc4ebc9487218b30338 (patch) | |
| tree | 37f27b4f0a84da70f3e0decddd16639217c936b9 /Makefile | |
| parent | 7b59e05600aff4e9deb3110887d6ad49838f02b0 (diff) | |
| parent | f6050ab804f06fbedfb1fd1b619217be85db2e00 (diff) | |
| download | afl++-031946136bb61990d03d7cc4ebc9487218b30338.tar.gz | |
Merge branch 'master' of https://github.com/vanhauser-thc/AFLplusplus
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile index f97f7f4f..b64a6dfe 100644 --- a/Makefile +++ b/Makefile @@ -68,8 +68,8 @@ override CFLAGS += -Wall -g -Wno-pointer-sign -I include/ \ AFL_FUZZ_FILES = $(wildcard src/afl-fuzz*.c) -ifneq "$(shell which python3m)" "" - ifneq "$(shell which python3m-config)" "" +ifneq "$(shell which python3m 2>/dev/null)" "" + ifneq "$(shell which python3m-config 2>/dev/null)" "" PYTHON_INCLUDE ?= $(shell python3m-config --includes) PYTHON_VERSION ?= $(strip $(shell python3m --version 2>&1)) # Starting with python3.8, we need to pass the `embed` flag. Earier versions didn't know this flag. @@ -81,8 +81,8 @@ ifneq "$(shell which python3m)" "" endif endif -ifneq "$(shell which python3)" "" - ifneq "$(shell which python3-config)" "" +ifneq "$(shell which python3 2>/dev/null)" "" + ifneq "$(shell which python3-config 2>/dev/null)" "" PYTHON_INCLUDE ?= $(shell python3-config --includes) PYTHON_VERSION ?= $(strip $(shell python3 --version 2>&1)) # Starting with python3.8, we need to pass the `embed` flag. Earier versions didn't know this flag. @@ -94,8 +94,8 @@ ifneq "$(shell which python3)" "" endif endif -ifneq "$(shell which python)" "" - ifneq "$(shell which python-config)" "" +ifneq "$(shell which python 2>/dev/null)" "" + ifneq "$(shell which python-config 2>/dev/null)" "" PYTHON_INCLUDE ?= $(shell python-config --includes) PYTHON_LIB ?= $(shell python-config --ldflags) PYTHON_VERSION ?= $(strip $(shell python --version 2>&1)) |
