From: Nirbheek Chauhan Date: Tue, 12 May 2020 00:28:38 +0000 (+0530) Subject: meson: Pass native: false to add_languages() X-Git-Tag: 1.19.3~874 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b63dd628d25a73ebf3fc755c6a2b2c05fe04368a;p=platform%2Fupstream%2Fgstreamer.git 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: --- 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 ],