aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordan Williams <jordan@jwillikers.com>2024-04-08 09:33:19 -0500
committerJordan Williams <jordan@jwillikers.com>2024-04-08 09:35:33 -0500
commit9b4774f75030893040b0ce17b69dcb167229b36e (patch)
treee7e5a844bdb956301bb6c00b0e55d4a3f251f34a
parent07aacb371470b5561f13b95e399e5ff77e417b8f (diff)
downloadutil-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.build2
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',