diff options
author | David Robillard <d@drobilla.net> | 2019-08-03 16:43:09 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-08-03 16:43:09 +0200 |
commit | 908e249c8030698e4313df9aeb81cfb7763e5150 (patch) | |
tree | a60bfc7e5392031c6a6e648ed8aae50eb1c5dd44 | |
parent | 074da16046a34c96d8635a805cd0b3a0fd1b71ab (diff) | |
download | pugl-908e249c8030698e4313df9aeb81cfb7763e5150.tar.gz pugl-908e249c8030698e4313df9aeb81cfb7763e5150.tar.bz2 pugl-908e249c8030698e4313df9aeb81cfb7763e5150.zip |
Add missing link flag to pkg-config files
-rw-r--r-- | wscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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', []): |