mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/477>
This commit is contained in:
parent
7a7cd9de6c
commit
b63dd628d2
1 changed files with 1 additions and 1 deletions
|
@ -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 ],
|
||||
|
|
Loading…
Reference in a new issue