From: Arnaldo Carvalho de Melo Date: Wed, 21 Dec 2022 17:08:20 +0000 (-0300) Subject: perf build: Remove explicit reference to python 2.x devel files X-Git-Tag: Ubuntu-6.2.0-16.16~1221^2~3 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=c3c2e8ebe365ae028ec82ceab039b2035875b6d5;p=mirror_ubuntu-kernels.git perf build: Remove explicit reference to python 2.x devel files If the libpython feature test (tools/build/feature/test-libpython.c) fails, then the python-devel is missing, it doesn't mattere if it is for python2 or 3, remove that explicit 2.x reference. Reported-by: Linus Torvalds Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config index c21bd6010be1..c2504c39bdcb 100644 --- a/tools/perf/Makefile.config +++ b/tools/perf/Makefile.config @@ -886,7 +886,7 @@ else else ifneq ($(feature-libpython), 1) - $(call disable-python,No 'Python.h' (for Python 2.x support) was found: disables Python support - please install python-devel/python-dev) + $(call disable-python,No 'Python.h' was found: disables Python support - please install python-devel/python-dev) else LDFLAGS += $(PYTHON_EMBED_LDFLAGS) EXTLIBS += $(PYTHON_EMBED_LIBADD)