mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 16:30:15 +00:00
Merge branch 'library-versioning' into 'master'
build: Prepare library versioning See merge request GNOME/gtk!1684
This commit is contained in:
commit
cd42227c29
@ -987,6 +987,7 @@ endif
|
||||
# Library
|
||||
libgtk = library('gtk-4',
|
||||
soversion: gtk_soversion,
|
||||
version: gtk_library_version,
|
||||
sources: [typefuncs, gtk_sources, gtkmarshal_h, gtkprivatetypebuiltins_h],
|
||||
c_args: gtk_cargs + common_cflags,
|
||||
include_directories: [confinc, gdkinc, gskinc, gtkinc],
|
||||
|
@ -85,7 +85,8 @@ gtk_binary_version = '4.0.0'
|
||||
|
||||
gtk_binary_age = 100 * gtk_minor_version + gtk_micro_version
|
||||
|
||||
gtk_soversion = '0.@0@.@1@'.format(gtk_binary_age - gtk_interface_age, gtk_interface_age)
|
||||
gtk_soversion = '0'
|
||||
gtk_library_version = '0.@0@.@1@'.format(gtk_binary_age - gtk_interface_age, gtk_interface_age)
|
||||
|
||||
gtk_api_version = '4.0'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user