diff options
author | Guillaume Poirier-Morency <guillaumepoiriermorency@gmail.com> | 2016-12-05 11:22:11 -0500 |
---|---|---|
committer | Guillaume Poirier-Morency <guillaumepoiriermorency@gmail.com> | 2016-12-05 11:23:04 -0500 |
commit | 6389e70c11c939d7c2e927086ea615ad83d6b0dd (patch) | |
tree | e130bccb8ecc3fc6d85a1d59d7ab056b1d7c5c77 | |
parent | 7afb4c655281d60ef64d0378ff126a08f12a14ce (diff) | |
download | meson-6389e70c11c939d7c2e927086ea615ad83d6b0dd.zip meson-6389e70c11c939d7c2e927086ea615ad83d6b0dd.tar.gz meson-6389e70c11c939d7c2e927086ea615ad83d6b0dd.tar.bz2 |
pkgconfig: 'Version' must be specified, even if it's empty
-rw-r--r-- | mesonbuild/modules/pkgconfig.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/modules/pkgconfig.py b/mesonbuild/modules/pkgconfig.py index 9f50b0e..c2dea33 100644 --- a/mesonbuild/modules/pkgconfig.py +++ b/mesonbuild/modules/pkgconfig.py @@ -54,8 +54,7 @@ class PkgConfigModule: ofile.write('Description: %s\n' % description) if len(url) > 0: ofile.write('URL: %s\n' % url) - if len(version) > 0: - ofile.write('Version: %s\n' % version) + ofile.write('Version: %s\n' % version) if len(pub_reqs) > 0: ofile.write('Requires: {}\n'.format(' '.join(pub_reqs))) if len(priv_reqs) > 0: |