]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
meson: use -Wno-cast-function-type for libmount python bindings
authorThomas Weißschuh <thomas@t-8ch.de>
Wed, 2 Nov 2022 04:19:03 +0000 (05:19 +0100)
committerThomas Weißschuh <thomas@t-8ch.de>
Thu, 10 Nov 2022 03:06:54 +0000 (04:06 +0100)
The same way it is done by autotools.

libmount/python/meson.build

index 59d61d173dcc7415afbd830af16b80c583341901..57d9a2880bae5ecafd607b8ca1e3a8ec036547a0 100644 (file)
@@ -24,6 +24,7 @@ python.extension_module(
   subdir : 'libmount',
   link_with : lib_mount,
   dependencies : python.dependency(),
+  c_args : [ '-Wno-cast-function-type' ],
   install : true)
 
 if build_python