[atk/gnome-3-26] build: Fix .rc generation in Meson builds



commit b0bd719ee9d058297745fd56505cf6d8208649ae
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Tue Sep 12 12:29:27 2017 +0800

    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

 atk/meson.build |    1 +
 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',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]