python/build/meson.py: move c_args, ... to [built-in options]

As per Meson 0.56.0:
 https://mesonbuild.com/Machine-files.html#properties
This commit is contained in:
Max Kellermann 2021-09-21 14:56:50 +02:00
parent 9ea1578a97
commit 2a02576d6d
1 changed files with 1 additions and 0 deletions

View File

@ -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())}