aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-09-21 21:47:43 +0200
committerDavid Robillard <d@drobilla.net>2020-09-21 21:47:43 +0200
commit95703acffae830fff046c4eb5f895743c6fabd4a (patch)
tree4ac6529954338b9e63a76fa9245dfd3debca27a8 /wscript
parent1b1a1c3a48e31ad338d22b340408465843b25871 (diff)
downloadpugl-95703acffae830fff046c4eb5f895743c6fabd4a.tar.gz
pugl-95703acffae830fff046c4eb5f895743c6fabd4a.tar.bz2
pugl-95703acffae830fff046c4eb5f895743c6fabd4a.zip
Fix library names in pkg-config files
Diffstat (limited to 'wscript')
-rw-r--r--wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript b/wscript
index f799ddd..0855ef1 100644
--- a/wscript
+++ b/wscript
@@ -226,6 +226,7 @@ def _build_pc_file(bld, name, desc, target, libname, deps={}, requires=[]):
env = bld.env
prefix = env.PREFIX
xprefix = os.path.dirname(env.LIBDIR)
+ libname = '%s-%s' % (libname, PUGL_MAJOR_VERSION)
uselib = deps.get('uselib', [])
pkg_deps = [l for l in uselib if 'PKG_' + l.lower() in env]