diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2020-12-15 00:12:55 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2020-12-15 00:22:37 +0000 |
commit | e9ccb1d8d095482e4139da658e679d5aad56b184 (patch) | |
tree | e75eb4606f1a8be11eee936fa29ed397b001ad5d /src/meson.build | |
parent | e22d7212acb454daccc088619ee147af03883974 (diff) | |
download | cairo-e9ccb1d8d095482e4139da658e679d5aad56b184.tar.gz |
meson: fix library versioning
Fixes #442
Diffstat (limited to 'src/meson.build')
-rw-r--r-- | src/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/meson.build b/src/meson.build index 5bd1a57ee..f5d741eae 100644 --- a/src/meson.build +++ b/src/meson.build @@ -299,8 +299,8 @@ libcairo = library('cairo', cairo_sources, c_args: cairo_no_warn_c_args + pthread_c_args + ['-DHAVE_CONFIG_H'], cpp_args: cairo_no_warn_c_args + pthread_c_args + ['-DHAVE_CONFIG_H'], link_args: extra_link_args, - soversion: '2', - version: '2.' + ''.join(meson.project_version().split('.')) + '.0', + soversion: cairo_version_sonum, + version: cairo_libversion, install: true, include_directories: incbase, ) |