aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index 9a3d5ea..0167d1f 100644
--- a/wscript
+++ b/wscript
@@ -180,14 +180,14 @@ def build(bld):
bld(features = 'c cshlib',
name = name,
target = 'pugl_' + name,
- cflags = ['-DPUGL_INTERNAL', '-DPUGL_SHARED'],
+ defines = ['PUGL_INTERNAL', 'PUGL_SHARED'],
**args)
if bld.env.BUILD_STATIC:
bld(features = 'c cstlib',
name = 'pugl_%s_static' % name,
target = 'pugl_' + name,
- cflags = ['-DPUGL_INTERNAL'],
+ defines = ['PUGL_INTERNAL', 'PUGL_DISABLE_DEPRECATED'],
**args)
def build_platform(platform, **kwargs):