From 1512dce0b223b5c17b43e6785fa5d988a95b49d4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 2 Mar 2020 23:24:53 +0100 Subject: Omit deprecated implementations with PUGL_DISABLE_DEPRECATED --- wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wscript') 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): -- cgit v1.2.1