diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-05-12 02:05:37 +0300 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-05-13 16:55:33 +0300 |
commit | fbd4afc64c50961bcd9ba354b978099f4092c396 (patch) | |
tree | fe53576e863c3fe53ad12b8d5174670593ac9eaa /meson.build | |
parent | 553ac050f0190a8f36a4376b62112353c38a0ab2 (diff) |
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 break older versions so it should be ok.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/589>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index c501ccdf6..7461fd9c4 100644 --- a/meson.build +++ b/meson.build @@ -16,7 +16,7 @@ else endif gst_version_is_dev = gst_version_minor % 2 == 1 and gst_version_micro < 90 -have_cxx = add_languages('cpp', required : false) +have_cxx = add_languages('cpp', native: false, required: false) glib_req = '>= 2.44.0' orc_req = '>= 0.4.17' |