From 9b4774f75030893040b0ce17b69dcb167229b36e Mon Sep 17 00:00:00 2001 From: Jordan Williams Date: Mon, 8 Apr 2024 09:33:19 -0500 Subject: [PATCH] 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 --- libmount/python/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmount/python/meson.build b/libmount/python/meson.build index 0957bca06..72985eca6 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', -- 2.47.3