changeset 46259:4e85439c1760

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
author Augie Fackler <augie@google.com>
date Fri, 15 Jan 2021 12:52:52 -0500
parents b4c88c7daa4f
children abba2d365373
files contrib/fuzz/Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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