diff options
author | Anonymous Maarten <anonymous.maarten@gmail.com> | 2017-11-13 22:59:05 +0100 |
---|---|---|
committer | Anonymous Maarten <anonymous.maarten@gmail.com> | 2017-11-13 23:07:48 +0100 |
commit | b715276cc75ffa4873c3bb1e6089a88df60df4f4 (patch) | |
tree | 2fc58d1574aaabe70111fb7752624604a06f0ebc | |
parent | 6d85e10df921c0399adfc01507a76f04c684245c (diff) | |
download | meson-b715276cc75ffa4873c3bb1e6089a88df60df4f4.zip meson-b715276cc75ffa4873c3bb1e6089a88df60df4f4.tar.gz meson-b715276cc75ffa4873c3bb1e6089a88df60df4f4.tar.bz2 |
tests: test getting python module using pkg-config
-rw-r--r-- | test cases/python3/2 extmodule/meson.build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test cases/python3/2 extmodule/meson.build b/test cases/python3/2 extmodule/meson.build index 25e2c63..0ecc813 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 |