mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +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 only cause a spurious warning. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1266>
This commit is contained in:
parent
0a2e026985
commit
e3d5849225
3 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
if not add_languages('cpp', required: get_option('modplug'))
|
||||
if not add_languages('cpp', native: false, required: get_option('modplug'))
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
if not add_languages('cpp', required: get_option('openni2'))
|
||||
if not add_languages('cpp', native: false, required: get_option('openni2'))
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ plugins = []
|
|||
cc = meson.get_compiler('c')
|
||||
cxx = meson.get_compiler('cpp')
|
||||
|
||||
have_objc = add_languages('objc', required : false)
|
||||
have_objc = add_languages('objc', native: false, required: false)
|
||||
|
||||
cdata = configuration_data()
|
||||
|
||||
|
@ -369,7 +369,7 @@ if ['darwin', 'ios'].contains(host_system)
|
|||
# cdata.set('HAVE_VIDEOTOOLBOX_10_9_6', 1)
|
||||
# endif
|
||||
endif
|
||||
have_objcpp = add_languages('objcpp', required : false)
|
||||
have_objcpp = add_languages('objcpp', native: false, required: false)
|
||||
|
||||
have_orcc = false
|
||||
orcc_args = []
|
||||
|
|
Loading…
Reference in a new issue