aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-04-19 12:25:50 +0200
committerDavid Robillard <d@drobilla.net>2020-04-19 12:43:32 +0200
commit5e5d74d3f978dde6ea6ab5c48fb1b02b5d2028d6 (patch)
tree5593377c060c784ddd57d9b36e9430d092fe4791
parent5695cb527b16ac622789e6f77b45f7fd52332829 (diff)
Add major version to library names
-rw-r--r--wscript4
1 files 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)