summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-04 19:38:02 +0000
committerDavid Robillard <d@drobilla.net>2012-08-04 19:38:02 +0000
commit356f2d0487769ff08963a2870f9a8eaaf901ecbf (patch)
tree48ebaece7ffa0cd5c1c2ddc6f6cb50eae850900e
parent3c4ad7caa517681da5e0ecb64835c7106c860f86 (diff)
downloadsord-356f2d0487769ff08963a2870f9a8eaaf901ecbf.tar.gz
sord-356f2d0487769ff08963a2870f9a8eaaf901ecbf.tar.bz2
sord-356f2d0487769ff08963a2870f9a8eaaf901ecbf.zip
Use more portable defines instead of -D in CFLAGS.
git-svn-id: http://svn.drobilla.net/sord/trunk@234 3d64ff67-21c5-427c-a301-fe4f08042e5a
-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']: