From 2a02576d6ddefe154a96186f559d42ebf266aaf2 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 21 Sep 2021 14:56:50 +0200 Subject: [PATCH] python/build/meson.py: move c_args, ... to [built-in options] As per Meson 0.56.0: https://mesonbuild.com/Machine-files.html#properties --- python/build/meson.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/build/meson.py b/python/build/meson.py index 880bd72f8..bb0b55a3f 100644 --- a/python/build/meson.py +++ b/python/build/meson.py @@ -54,6 +54,7 @@ pkgconfig = '{toolchain.pkg_config}' [properties] root = '{toolchain.install_prefix}' +[built-in options] c_args = {repr((toolchain.cppflags + ' ' + toolchain.cflags).split())} c_link_args = {repr(toolchain.ldflags.split() + toolchain.libs.split())}