wscript: use --enable-samplerate as in configure
authorPaul Brossier <piem@piem.org>
Thu, 17 Nov 2011 01:12:47 +0000 (17:12 -0800)
committerPaul Brossier <piem@piem.org>
Thu, 17 Nov 2011 01:12:47 +0000 (17:12 -0800)
wscript

diff --git a/wscript b/wscript
index 2a7ad2e708fa655c8f786ae3210ac2c99244c640..bd8ea00e79a271229a742ccc77df1af8bd3a015a 100644 (file)
--- a/wscript
+++ b/wscript
@@ -75,7 +75,7 @@ def configure(conf):
   # check dependencies
   conf.check_cfg(package = 'sndfile', atleast_version = '1.0.4',
     args = '--cflags --libs')
-  if (Options.options.enable_libsamplerate == True):
+  if (Options.options.enable_samplerate == True):
       conf.check_cfg(package = 'samplerate', atleast_version = '0.0.15',
         args = '--cflags --libs')