diff options
| author | Mike Sinkovsky <msink@permonline.ru> | 2017-01-08 14:39:11 +0500 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-01-11 12:33:27 -0500 |
| commit | 84902cb93a37e7f6a11b902ba64a11cb26ebcbc0 (patch) | |
| tree | f49ecd55d5cda677f2e17924ec41214fa12e89eb /mesonbuild/modules/pkgconfig.py | |
| parent | f9344b03a8dbda44b5a1cae429588f44ddf72f2d (diff) | |
| download | meson-84902cb93a37e7f6a11b902ba64a11cb26ebcbc0.tar.gz | |
style: [E301] expected 1 blank line, found 0
Diffstat (limited to 'mesonbuild/modules/pkgconfig.py')
| -rw-r--r-- | mesonbuild/modules/pkgconfig.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/modules/pkgconfig.py b/mesonbuild/modules/pkgconfig.py index c558d48bb..e46c23925 100644 --- a/mesonbuild/modules/pkgconfig.py +++ b/mesonbuild/modules/pkgconfig.py @@ -67,6 +67,7 @@ class PkgConfigModule(ExtensionModule): 'Requires.private: {}\n'.format(' '.join(priv_reqs))) if len(conflicts) > 0: ofile.write('Conflicts: {}\n'.format(' '.join(conflicts))) + def generate_libs_flags(libs): msg = 'Library target {0!r} has {1!r} set. Compilers ' \ 'may not find it from its \'-l{2}\' linker flag in the ' \ @@ -85,6 +86,7 @@ class PkgConfigModule(ExtensionModule): if l.name_suffix_set: mlog.warning(msg.format(l.name, 'name_suffix', lname, pcfile)) yield '-l%s' % lname + if len(libraries) > 0: ofile.write('Libs: {}\n'.format(' '.join(generate_libs_flags(libraries)))) if len(priv_libs) > 0: |
