[gtk/gtk-3-24] meson.build: Clean up previous commit



commit a4410e9c01c46c4290db66234730b28025f4da9c
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Fri Apr 12 14:01:31 2019 +0800

    meson.build: Clean up previous commit
    
    Don't hardcode things, and move only deduce `current` for non-Visual
    Studio builds, as it is only used there.

 meson.build | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/meson.build b/meson.build
index 5dcea9926c..fb3454c545 100644
--- a/meson.build
+++ b/meson.build
@@ -109,14 +109,14 @@ else
 endif
 
 # Maintain compatibility with the Autotools build
-current = gtk_binary_age - gtk_interface_age
 
 gtk_library_version = ''
 gail_library_version = ''
 if cc.get_id() == 'msvc'
-  gtk_library_version = '3'
-  gail_library_version = '3'
+  gtk_library_version = gtk_major_version.to_string()
+  gail_library_version = gtk_major_version.to_string()
 else
+  current = gtk_binary_age - gtk_interface_age
   gtk_library_version = '@0@.@1@.@2@'.format(gtk_soversion, current, gtk_interface_age)
   gail_library_version = '0.0.0'
 endif


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