From a4410e9c01c46c4290db66234730b28025f4da9c Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Fri, 12 Apr 2019 14:01:31 +0800 Subject: [PATCH] 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