From d03971dac7b32a6ffcbf161853e017f65ae7c22f Mon Sep 17 00:00:00 2001 From: Heiko Becker Date: Fri, 11 Feb 2022 21:35:54 +0100 Subject: [PATCH] meson: Don't build lame plugin with -Dlame=disabled Part-of: --- subprojects/gst-plugins-good/ext/lame/meson.build | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/subprojects/gst-plugins-good/ext/lame/meson.build b/subprojects/gst-plugins-good/ext/lame/meson.build index 2169fde6f4..3290f17e1e 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')