aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-08-03 16:43:09 +0200
committerDavid Robillard <d@drobilla.net>2019-08-03 16:43:09 +0200
commit908e249c8030698e4313df9aeb81cfb7763e5150 (patch)
treea60bfc7e5392031c6a6e648ed8aae50eb1c5dd44 /wscript
parent074da16046a34c96d8635a805cd0b3a0fd1b71ab (diff)
downloadpugl-908e249c8030698e4313df9aeb81cfb7763e5150.tar.gz
pugl-908e249c8030698e4313df9aeb81cfb7763e5150.tar.bz2
pugl-908e249c8030698e4313df9aeb81cfb7763e5150.zip
Add missing link flag to pkg-config files
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index d997be0..796a9ce 100644
--- a/wscript
+++ b/wscript
@@ -104,7 +104,7 @@ def _build_pc_file(bld, name, desc, target, libname, deps={}, requires=[]):
pkg_deps = [l for l in uselib if 'PKG_' + l.lower() in env]
lib_deps = [l for l in uselib if 'PKG_' + l.lower() not in env]
- link_flags = [env.LIB_ST % l for l in deps.get('lib', [])]
+ link_flags = [env.LIB_ST % l for l in (deps.get('lib', []) + [libname])]
for l in lib_deps:
link_flags += [env.LIB_ST % l for l in env['LIB_' + l]]
for f in deps.get('framework', []):