build: Fix .rc generation in Meson builds
authorChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 12 Sep 2017 04:29:27 +0000 (12:29 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 13 Sep 2017 15:21:03 +0000 (23:21 +0800)
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

atk/meson.build

index b014009..95942e0 100644 (file)
@@ -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',