Show More
@@ -10,6 +10,15 b' CXX ?= clang++' | |||
|
10 | 10 | # OSS-Fuzz will define its own value for LIB_FUZZING_ENGINE. |
|
11 | 11 | LIB_FUZZING_ENGINE ?= standalone_fuzz_target_runner.o |
|
12 | 12 | |
|
13 | # Default to Python 3. | |
|
14 | # | |
|
15 | # Windows ships Python 3 as `python.exe`, which may not be on PATH. py.exe is. | |
|
16 | ifeq ($(OS),Windows_NT) | |
|
17 | PYTHON?=py -3 | |
|
18 | else | |
|
19 | PYTHON?=python3 | |
|
20 | endif | |
|
21 | ||
|
13 | 22 | PYTHON_CONFIG ?= $$OUT/sanpy/bin/python-config |
|
14 | 23 | PYTHON_CONFIG_FLAGS ?= --ldflags --embed |
|
15 | 24 | |
@@ -20,7 +29,7 b' all: standalone_fuzz_target_runner.o oss' | |||
|
20 | 29 | standalone_fuzz_target_runner.o: standalone_fuzz_target_runner.cc |
|
21 | 30 | |
|
22 | 31 | $$OUT/%_fuzzer_seed_corpus.zip: %_corpus.py |
|
23 | python $< $@ | |
|
32 | $(PYTHON) $< $@ | |
|
24 | 33 | |
|
25 | 34 | pyutil.o: pyutil.cc pyutil.h |
|
26 | 35 | $(CXX) $(CXXFLAGS) -g -O1 \ |
General Comments 0
You need to be logged in to leave comments.
Login now