From: Jordan Williams Date: Mon, 8 Apr 2024 14:33:19 +0000 (-0500) Subject: meson: Require Python dependency which can be embedded for pylibmount X-Git-Tag: v2.42-start~438^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9b4774f75030893040b0ce17b69dcb167229b36e;p=thirdparty%2Futil-linux.git 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 --- 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',