From 4cc1515f90d4209b4c80a7692ffd0818848f2365 Mon Sep 17 00:00:00 2001 From: Michael Black W9MDB Date: Sat, 6 Mar 2021 22:57:06 -0600 Subject: [PATCH] Another attempt to get python config working multi platform https://github.com/Hamlib/Hamlib/issues/477 --- macros/ax_python_devel.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros/ax_python_devel.m4 b/macros/ax_python_devel.m4 index ffac14882..55463ed88 100644 --- a/macros/ax_python_devel.m4 +++ b/macros/ax_python_devel.m4 @@ -149,7 +149,7 @@ variable to configure. See ``configure --help'' for reference. fi else sysconfig="sysconfig" - PYTHON_CPPFLAGS=`python3-config --cflags` + PYTHON_CPPFLAGS=`python3-config --includes` PYTHON_EXTRA_LDFLAGS=`python3-config --ldflags` AC_MSG_RESULT([yes]) fi