fuzz: fix Makefile default PYTHON_CONFIG_FLAGS to be modern
authorAugie Fackler <augie@google.com>
Fri, 15 Jan 2021 12:52:52 -0500
changeset 46259 4e85439c1760
parent 46258 b4c88c7daa4f
child 46260 abba2d365373
fuzz: fix Makefile default PYTHON_CONFIG_FLAGS to be modern This is actually what we already do on oss-fuzz, so it's more correct as tests go. Differential Revision: https://phab.mercurial-scm.org/D9790
contrib/fuzz/Makefile
--- a/contrib/fuzz/Makefile	Thu Jan 14 06:52:36 2021 +0100
+++ b/contrib/fuzz/Makefile	Fri Jan 15 12:52:52 2021 -0500
@@ -11,7 +11,7 @@
 LIB_FUZZING_ENGINE ?= standalone_fuzz_target_runner.o
 
 PYTHON_CONFIG ?= $$OUT/sanpy/bin/python-config
-PYTHON_CONFIG_FLAGS ?= --ldflags
+PYTHON_CONFIG_FLAGS ?= --ldflags --embed
 
 CXXFLAGS += -Wno-deprecated-register