forked from AuroraMiddleware/gtk
meson.build: Fix Visual Studio builds
Commitsa04fef4
andcc7f9c4
inadvertedly broke Visual Studio builds as it caused the following to show up when configuring: gdk\meson.build:281:0: ERROR: Invalid Shared library version "vs9.2404.4". Must be of the form X.Y.Z where all three are numbers. Y and Z are optional. Since we do not set a library version that mingles with the minor and micro versions, along with libtool current for any Visual Studio builds, just set those versions as 3 on Visual Studio builds, and things should work the way they did before.
This commit is contained in:
parent
1373bf1d76
commit
f5408e5061
12
meson.build
12
meson.build
@ -110,8 +110,16 @@ endif
|
||||
|
||||
# Maintain compatibility with the Autotools build
|
||||
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'
|
||||
|
||||
gtk_library_version = ''
|
||||
gail_library_version = ''
|
||||
if cc.get_id() == 'msvc'
|
||||
gtk_library_version = '3'
|
||||
gail_library_version = '3'
|
||||
else
|
||||
gtk_library_version = '@0@.@1@.@2@'.format(gtk_soversion, current, gtk_interface_age)
|
||||
gail_library_version = '0.0.0'
|
||||
endif
|
||||
|
||||
gtk_osxversions = [(100 * gtk_minor_version) + 1, '@0@.@1@.0'.format((100 * gtk_minor_version) + 1, gtk_micro_version)]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user