From: Heiko Becker Date: Fri, 11 Feb 2022 20:35:54 +0000 (+0100) Subject: meson: Don't build lame plugin with -Dlame=disabled X-Git-Tag: 1.22.0~2432 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d03971dac7b32a6ffcbf161853e017f65ae7c22f;p=platform%2Fupstream%2Fgstreamer.git meson: Don't build lame plugin with -Dlame=disabled Part-of: --- diff --git a/subprojects/gst-plugins-good/ext/lame/meson.build b/subprojects/gst-plugins-good/ext/lame/meson.build index 2169fde..3290f17 100644 --- a/subprojects/gst-plugins-good/ext/lame/meson.build +++ b/subprojects/gst-plugins-good/ext/lame/meson.build @@ -1,5 +1,10 @@ +lame_dep = dependency('', required: false) lame_option = get_option('lame') +if lame_option.disabled() + subdir_done() +endif + lame_extra_c_args = [] lame_dep = cc.find_library('mp3lame', required: false) have_lame = cc.has_header_symbol('lame/lame.h', 'lame_init')