From b63dd628d25a73ebf3fc755c6a2b2c05fe04368a Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Tue, 12 May 2020 05:58:38 +0530 Subject: [PATCH] meson: Pass native: false to add_languages() This is needed for cross-compiling without a build machine compiler available. The option was added in 0.54, but we only need this in Cerbero and it doesn't affect older versions so it should be ok. Will just cause a spurious warning. Part-of: --- tests/check/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/check/meson.build b/tests/check/meson.build index b47325b..d76410b 100644 --- a/tests/check/meson.build +++ b/tests/check/meson.build @@ -113,7 +113,7 @@ core_tests = [ ] # Make sure our headers are C++ clean -if add_languages('cpp', required : false) +if add_languages('cpp', native: false, required: false) core_tests += [ [ 'gst/gstcpp.cc', not gst_registry ], [ 'libs/gstlibscpp.cc', false ], -- 2.7.4