[waf] also link against vorbis and ogg
authorPaul Brossier <piem@piem.org>
Fri, 21 Dec 2018 11:41:36 +0000 (12:41 +0100)
committerPaul Brossier <piem@piem.org>
Fri, 21 Dec 2018 11:41:36 +0000 (12:41 +0100)
Required where vorbisenc doesn't mark these as NEEDED (e.g. osx)

wscript

diff --git a/wscript b/wscript
index 7f66dde..823fe6e 100644 (file)
--- a/wscript
+++ b/wscript
@@ -434,7 +434,7 @@ def configure(ctx):
 
     # check for vorbisenc
     if (ctx.options.enable_vorbis != False):
-        ctx.check_cfg(package = 'vorbisenc',
+        ctx.check_cfg(package = 'vorbisenc vorbis ogg',
                 args = '--cflags --libs',
                 uselib_store = 'VORBISENC',
                 mandatory = ctx.options.enable_vorbis)