pkg-config wrapper: output linker flags for static libraries

This commit is contained in:
alexey.lysiuk 2020-12-12 11:33:43 +02:00
parent b6e58c6a7b
commit 23470315f3

View file

@ -38,7 +38,7 @@ def _main():
environment = os.environ
environment['PKG_CONFIG_PATH'] = config_path
args = [bin_path + 'pkg-config.exe', '--define-prefix'] + args
args = [bin_path + 'pkg-config.exe', '--define-prefix', '--static'] + args
result = subprocess.run(args, env=environment, capture_output=True)
stdout = result.stdout.decode('ascii')