diff options
author | Jordan Williams <jordan@jwillikers.com> | 2024-04-08 09:33:19 -0500 |
---|---|---|
committer | Jordan Williams <jordan@jwillikers.com> | 2024-04-08 09:35:33 -0500 |
commit | 9b4774f75030893040b0ce17b69dcb167229b36e (patch) | |
tree | e7e5a844bdb956301bb6c00b0e55d4a3f251f34a | |
parent | 07aacb371470b5561f13b95e399e5ff77e417b8f (diff) | |
download | util-linux-9b4774f75030893040b0ce17b69dcb167229b36e.tar.gz |
meson: Require Python dependency which can be embedded for pylibmount
Meson doesn't properly check that the necessary Python.h header file is
available for the pylibmount module.
Passing true for the embed keyword argument for the Python dependency
method ensures that this header file is available.
Signed-off-by: Jordan Williams <jordan@jwillikers.com>
-rw-r--r-- | libmount/python/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmount/python/meson.build b/libmount/python/meson.build index 0957bca06b..72985eca6b 100644 --- a/libmount/python/meson.build +++ b/libmount/python/meson.build @@ -17,7 +17,7 @@ if build_python pylibmount_sources, include_directories : [dir_include], subdir : 'libmount', - dependencies : [mount_dep, python.dependency()], + dependencies : [mount_dep, python.dependency(embed: true)], c_args : [ '-Wno-cast-function-type', |