Created
March 3, 2014 09:02
-
-
Save oneman/9321095 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/clients/vistest/wscript b/src/clients/vistest/wscript | |
index 616d65a..f73207d 100644 | |
--- a/src/clients/vistest/wscript | |
+++ b/src/clients/vistest/wscript | |
@@ -28,7 +28,7 @@ def build(bld): | |
target = 'xmms2-ripper', | |
source = 'ripper.c', | |
includes = '. ../../.. ../../include', | |
- uselib = 'vorbisenc', | |
+ uselib = 'vorbis vorbisenc ogg', | |
use = 'xmmsclient' | |
) | |
if not bld.env.INSTALL_VIS_REFERENCE_CLIENTS: | |
@@ -53,6 +53,12 @@ def configure(conf): | |
conf.check_cc(lib="m", uselib_store="math", mandatory=False) | |
+ conf.check_cfg(package='ogg', uselib_store='ogg', | |
+ args='--cflags --libs', mandatory=False) | |
+ | |
+ conf.check_cfg(package='vorbis', uselib_store='vorbis', | |
+ args='--cflags --libs', mandatory=False) | |
+ | |
conf.check_cfg(package='vorbisenc', uselib_store='vorbisenc', | |
args='--cflags --libs', mandatory=False) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment