aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 4 insertions, 4 deletions
diff --git a/wscript b/wscript
index d3e48382..50d3e18e 100644
--- a/wscript
+++ b/wscript
@@ -1,13 +1,13 @@
#!/usr/bin/env python
-import Logs
-import Options
-import autowaf
import filecmp
import glob
import os
import shutil
import subprocess
+import waflib.Logs as Logs, waflib.Options as Options
+from waflib.extras import autowaf as autowaf
+
# Version of this package (even if built as a child)
SERD_VERSION = '0.1.0'
@@ -40,7 +40,7 @@ def configure(conf):
autowaf.configure(conf)
autowaf.display_header('Serd Configuration')
- conf.check_tool('compiler_cc')
+ conf.load('compiler_cc')
conf.env.append_value('CFLAGS', '-std=c99')
conf.env['BUILD_TESTS'] = Options.options.build_tests