build script: add extra libraries for vorbis target

This commit is contained in:
alexey.lysiuk 2020-12-07 13:40:09 +02:00
parent 2307816bd8
commit 9cdac13420
1 changed files with 5 additions and 0 deletions

View File

@ -928,6 +928,11 @@ class SndFileTarget(CMakeStaticDependencyTarget):
class VorbisTarget(ConfigureMakeStaticDependencyTarget):
def __init__(self, name='vorbis'):
super().__init__(name)
self.pkg_libs = {
'vorbis': ('ogg',),
'vorbisenc': ('vorbis', 'ogg'),
'vorbisfile': ('vorbis', 'ogg'),
}
def prepare_source(self, builder: 'Builder'):
builder.download_source(