diff options
-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: |