diff options
author | David Robillard <d@drobilla.net> | 2012-08-04 19:38:02 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-04 19:38:02 +0000 |
commit | 356f2d0487769ff08963a2870f9a8eaaf901ecbf (patch) | |
tree | 48ebaece7ffa0cd5c1c2ddc6f6cb50eae850900e /wscript | |
parent | 3c4ad7caa517681da5e0ecb64835c7106c860f86 (diff) | |
download | sord-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
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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']: |