python/build/libs.py: remove libvorbis, switch to Meson wrap

This commit is contained in:
Max Kellermann
2021-09-21 13:01:32 +02:00
parent 6b1d0cb01d
commit aef0535c55
7 changed files with 20 additions and 13 deletions

View File

@@ -5,7 +5,9 @@ if get_option('tremor').enabled()
# no libvorbis if Tremor was explicitly enabled
libvorbis_dep = dependency('', required: false)
else
libvorbis_dep = dependency('vorbis', required: get_option('vorbis'))
libvorbis_dep = dependency('vorbis',
fallback: ['vorbis', 'vorbis_dep'],
required: get_option('vorbis'))
endif
if libvorbis_dep.found()