From cd46eb3f8d5cc1bdbcf3277efa32d918285fc27e Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Thu, 27 Feb 2020 17:29:12 +0100 Subject: eclass/tests/python-utils-r1.sh: Cover PYTHON_{CFLAGS,LIBS} MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- eclass/tests/python-utils-r1.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'eclass/tests') diff --git a/eclass/tests/python-utils-r1.sh b/eclass/tests/python-utils-r1.sh index 279324e163ba..4367890a08a1 100755 --- a/eclass/tests/python-utils-r1.sh +++ b/eclass/tests/python-utils-r1.sh @@ -67,6 +67,8 @@ if [[ -x /usr/bin/python2.7 ]]; then test_var PYTHON_INCLUDEDIR python2_7 /usr/include/python2.7 test_var PYTHON_LIBPATH python2_7 "/usr/lib*/libpython2.7$(get_libname)" test_var PYTHON_CONFIG python2_7 /usr/bin/python2.7-config + test_var PYTHON_CFLAGS python2_7 "*-I/usr/include/python2.7*" + test_var PYTHON_LIBS python2_7 "*-lpython2.7*" fi test_var PYTHON_PKG_DEP python2_7 '*dev-lang/python*:2.7' test_var PYTHON_SCRIPTDIR python2_7 /usr/lib/python-exec/python2.7 @@ -79,6 +81,8 @@ if [[ -x /usr/bin/python3.6 ]]; then test_var PYTHON_INCLUDEDIR python3_6 "/usr/include/python3.6${abiflags}" test_var PYTHON_LIBPATH python3_6 "/usr/lib*/libpython3.6${abiflags}$(get_libname)" test_var PYTHON_CONFIG python3_6 "/usr/bin/python3.6${abiflags}-config" + test_var PYTHON_CFLAGS python3_6 "*-I/usr/include/python3.6*" + test_var PYTHON_LIBS python3_6 "*-lpython3.6*" fi test_var PYTHON_PKG_DEP python3_6 '*dev-lang/python*:3.6' test_var PYTHON_SCRIPTDIR python3_6 /usr/lib/python-exec/python3.6 @@ -91,6 +95,8 @@ if [[ -x /usr/bin/python3.7 ]]; then test_var PYTHON_INCLUDEDIR python3_7 "/usr/include/python3.7${abiflags}" test_var PYTHON_LIBPATH python3_7 "/usr/lib*/libpython3.7${abiflags}$(get_libname)" test_var PYTHON_CONFIG python3_7 "/usr/bin/python3.7${abiflags}-config" + test_var PYTHON_CFLAGS python3_7 "*-I/usr/include/python3.7*" + test_var PYTHON_LIBS python3_7 "*-lpython3.7*" fi test_var PYTHON_PKG_DEP python3_7 '*dev-lang/python*:3.7' test_var PYTHON_SCRIPTDIR python3_7 /usr/lib/python-exec/python3.7 -- cgit v1.2.3-65-gdbad