summaryrefslogtreecommitdiffstats
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 d495290..e92dbce 100644
--- a/wscript
+++ b/wscript
@@ -59,10 +59,10 @@ def configure(conf):
autowaf.define(conf, 'SORD_VERSION', SORD_VERSION)
conf.write_config_header('sord-config.h', remove=False)
- conf.env['SORD_CFLAGS'] = '-I%s/sord-%s' % (
- conf.env['INCLUDEDIR'], SORD_MAJOR_VERSION)
- conf.env['SORD_LIBS'] = '-L%s -lsord-%s' % (
- conf.env['LIBDIR'], SORD_MAJOR_VERSION)
+ conf.env['INCLUDES_SORD'] = ['%s/sord-%s' % (
+ conf.env['INCLUDEDIR'], SORD_MAJOR_VERSION)]
+ conf.env['LIBPATH_SORD'] = [conf.env['LIBDIR']]
+ conf.env['LIB_SORD'] = ['sord-%s' % SORD_MAJOR_VERSION];
autowaf.display_msg(conf, "Utilities", bool(conf.env['BUILD_UTILS']))
autowaf.display_msg(conf, "Unit tests", bool(conf.env['BUILD_TESTS']))