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.
This commit is contained in:
parent
f5408e5061
commit
a4410e9c01
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user