From 5e5d74d3f978dde6ea6ab5c48fb1b02b5d2028d6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 19 Apr 2020 12:25:50 +0200 Subject: Add major version to library names --- wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wscript b/wscript index 60fad1d..f717921 100644 --- a/wscript +++ b/wscript @@ -227,14 +227,14 @@ def build(bld): if bld.env.BUILD_SHARED: bld(features = 'c cshlib', name = name, - target = 'pugl_' + name, + target = 'pugl_%s-%s' % (name, PUGL_MAJOR_VERSION), defines = ['PUGL_INTERNAL', 'PUGL_SHARED'], **args) if bld.env.BUILD_STATIC: bld(features = 'c cstlib', name = 'pugl_%s_static' % name, - target = 'pugl_' + name, + target = 'pugl_%s-%s' % (name, PUGL_MAJOR_VERSION), defines = ['PUGL_INTERNAL', 'PUGL_DISABLE_DEPRECATED'], **args) -- cgit v1.2.1