diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-05-12 05:00:36 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-05-13 13:59:36 +0530 |
commit | e3d58492256fa02b40504ccee3852d81bd08505e (patch) | |
tree | 2e7d4a759cbba14d6a895017259db30966cc92e9 /ext/modplug | |
parent | 0a2e026985d86abe92e24ef546cb81a2e4b7cc10 (diff) | |
download | gstreamer-plugins-bad-e3d58492256fa02b40504ccee3852d81bd08505e.tar.gz |
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>
Diffstat (limited to 'ext/modplug')
-rw-r--r-- | ext/modplug/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/modplug/meson.build b/ext/modplug/meson.build index 9e99d89c5..659c291a1 100644 --- a/ext/modplug/meson.build +++ b/ext/modplug/meson.build @@ -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 |