summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wscript7
1 files changed, 3 insertions, 4 deletions
diff --git a/wscript b/wscript
index 87eae67..e3c92fd 100644
--- a/wscript
+++ b/wscript
@@ -125,9 +125,8 @@ def build(bld):
vnum = SORD_LIB_VERSION,
install_path = '${LIBDIR}',
libs = libs,
- defines = defines,
- cflags = libflags + [ '-DSORD_SHARED',
- '-DSORD_INTERNAL' ])
+ defines = defines + ['SORD_SHARED', 'SORD_INTERNAL'],
+ cflags = libflags)
autowaf.use_lib(bld, obj, 'SERD')
# Static Library
@@ -141,7 +140,7 @@ def build(bld):
vnum = SORD_LIB_VERSION,
install_path = '${LIBDIR}',
libs = libs,
- cflags = [ '-DSORD_INTERNAL' ])
+ defines = ['SORD_INTERNAL'])
autowaf.use_lib(bld, obj, 'SERD')
if bld.env['BUILD_TESTS']: