From 908e249c8030698e4313df9aeb81cfb7763e5150 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 3 Aug 2019 16:43:09 +0200 Subject: Add missing link flag to pkg-config files --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', []): -- cgit v1.2.1