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

View file

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