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')