From b715276cc75ffa4873c3bb1e6089a88df60df4f4 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Mon, 13 Nov 2017 22:59:05 +0100 Subject: tests: test getting python module using pkg-config --- test cases/python3/2 extmodule/meson.build | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test cases/python3/2 extmodule/meson.build b/test cases/python3/2 extmodule/meson.build index 25e2c63b0..0ecc81336 100644 --- a/test cases/python3/2 extmodule/meson.build +++ b/test cases/python3/2 extmodule/meson.build @@ -17,3 +17,8 @@ if py3_dep.found() else error('MESON_SKIP_TEST: Python3 libraries not found, skipping test.') endif + +py3_pkg_dep = dependency('python3', method: 'pkg-config', required : false) +if py3_pkg_dep.found() + python_lib_dir = py3_pkg_dep.get_pkgconfig_variable('libdir') +endif -- cgit v1.2.3