Skip to content

Commit

Permalink
meson: Pass native: false to add_languages()
Browse files Browse the repository at this point in the history
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-base/-/merge_requests/660>
  • Loading branch information
nirbheek committed May 11, 2020
1 parent 9280d4b commit 4e7d3b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meson.build
Expand Up @@ -16,8 +16,8 @@ else
endif
gst_version_is_dev = gst_version_minor % 2 == 1 and gst_version_micro < 90

have_cxx = add_languages('cpp', required : false)
have_objc = add_languages('objc', required : false)
have_cxx = add_languages('cpp', native: false, required: false)
have_objc = add_languages('objc', native: false, required: false)

glib_req = '>= 2.44.0'
orc_req = '>= 0.4.24'
Expand Down

0 comments on commit 4e7d3b4

Please sign in to comment.