diff options
author | fuzzard <fuzzard@kodi.tv> | 2021-12-05 18:40:57 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2021-12-05 18:44:28 +1000 |
commit | ced2dafa93a9c984e6bbf001506d46affb4386fb (patch) | |
tree | b6f04a15c00adf04c5829597f30f8986b9d81aa0 /tools/depends/target | |
parent | 9e99541cb751a84550226f22e330f4a5442a37b2 (diff) |
[tools/depends][target] update meson-cross-file due to deprecation warnings
Update meson cross file to remove following deprecation warnings
DEPRECATION: The [paths] section is deprecated, use the [built-in options] section instead.
DEPRECATION: c_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
DEPRECATION: c_link_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
DEPRECATION: cpp_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
DEPRECATION: cpp_link_args in the [properties] section of the machine file is deprecated, use the [built-in options] section.
This change brings a requirement of meson 0.56.0 to build kodi as per
https://mesonbuild.com/Machine-files.html#meson-builtin-options
Diffstat (limited to 'tools/depends/target')
-rwxr-xr-x | tools/depends/target/meson-cross-setup.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/depends/target/meson-cross-setup.sh b/tools/depends/target/meson-cross-setup.sh index 9b5546200f..ea76a28410 100755 --- a/tools/depends/target/meson-cross-setup.sh +++ b/tools/depends/target/meson-cross-setup.sh @@ -15,13 +15,16 @@ cpu = '$CPU' endian = 'little' [properties] +pkg_config_libdir = '$PREFIX/lib/pkgconfig' + +[built-in options] $($NATIVEPREFIX/bin/python3 -c "print('c_args = {}'.format([x for x in '$CFLAGS'.split() if x not in ['-g', '-gdwarf-2']]))") $($NATIVEPREFIX/bin/python3 -c "print('c_link_args = {}'.format([x for x in '$LDFLAGS'.split()]))") $($NATIVEPREFIX/bin/python3 -c "print('cpp_args = {}'.format([x for x in '$CXXFLAGS'.split() if x not in ['-g', '-gdwarf-2']]))") $($NATIVEPREFIX/bin/python3 -c "print('cpp_link_args = {}'.format([x for x in '$LDFLAGS'.split()]))") - -[paths] +default_library = 'static' prefix = '$PREFIX' libdir = 'lib' bindir = 'bin' +includedir = 'include' EOF |