meson: Use the appropriate interface and binary ages

We need to build them out of the project version, and then propagate
them.
This commit is contained in:
Emmanuele Bassi
2017-07-14 13:56:02 +01:00
parent 37ff4189fd
commit 065a8a488a
3 changed files with 11 additions and 8 deletions

View File

@@ -20,7 +20,7 @@ gobject_tests = [
# FIXME: use new environment() object
# FIXME: put common bits of test environment() in one location
# Not entirely random of course, but at least it changes over time
random_number = minor_version.to_int() + meson.version().split('.').get(1).to_int()
random_number = minor_version + meson.version().split('.').get(1).to_int()
test_env = [
'G_TEST_SRCDIR=' + meson.current_source_dir(),