summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-03 16:34:18 +0000
committerDavid Robillard <d@drobilla.net>2012-08-03 16:34:18 +0000
commit63bf1a9fbb2336c0457e67b5b98edc0489b2da38 (patch)
treef9ceb2bbf629e582fd0525d00e0d726422fc5c1f /wscript
parentcd5ef5425ec394a2895a48b8a708170dee8b3037 (diff)
downloadpatchage-63bf1a9fbb2336c0457e67b5b98edc0489b2da38.tar.gz
patchage-63bf1a9fbb2336c0457e67b5b98edc0489b2da38.tar.bz2
patchage-63bf1a9fbb2336c0457e67b5b98edc0489b2da38.zip
Use more portable defines instead of -D in CFLAGS.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@4608 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index 32a62a4..fecb074 100644
--- a/wscript
+++ b/wscript
@@ -66,7 +66,7 @@ def configure(conf):
# Check for dladdr
conf.check(function_name='dladdr',
header_name='dlfcn.h',
- cflags='-D_GNU_SOURCE',
+ defines=['_GNU_SOURCE'],
lib=['dl'],
define_name='HAVE_DLADDR',
mandatory=False)