From 356f2d0487769ff08963a2870f9a8eaaf901ecbf Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 4 Aug 2012 19:38:02 +0000 Subject: Use more portable defines instead of -D in CFLAGS. git-svn-id: http://svn.drobilla.net/sord/trunk@234 3d64ff67-21c5-427c-a301-fe4f08042e5a --- wscript | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'wscript') 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']: -- cgit v1.2.1