summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2017-09-12 12:29:27 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2017-09-13 23:21:03 +0800
commit28f3e78e0ca0d5eb36d00fd8aef89eb0d1bacc93 (patch)
tree4e2c3ebc6d94745663df8ebe97450c542ea2e026
parent524d6fb9d495e2542e9fb9771510f183c0ec16ea (diff)
downloadatk-28f3e78e0ca0d5eb36d00fd8aef89eb0d1bacc93.tar.gz
build: Fix .rc generation in Meson builds
We need to specify the value for the ATK_VERSION variable as well, otherwise some version info of the DLL will not be set correctly. https://bugzilla.gnome.org/show_bug.cgi?id=785802
-rw-r--r--atk/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/atk/meson.build b/atk/meson.build
index b014009..95942e0 100644
--- a/atk/meson.build
+++ b/atk/meson.build
@@ -78,6 +78,7 @@ atk_version_conf.set('ATK_MICRO_VERSION', atk_micro_version)
atk_version_conf.set('ATK_BINARY_AGE', atk_binary_age)
atk_version_conf.set('ATK_INTERFACE_AGE', atk_interface_age)
atk_version_conf.set('LT_CURRENT_MINUS_AGE', '0')
+atk_version_conf.set('ATK_VERSION', meson.project_version())
atk_version_h = configure_file(input: 'atkversion.h.in',
output: 'atkversion.h',