[gtk/gtk-3-24-meson: 75/99] meson: set interface age; pass soversion to libgdk as well
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24-meson: 75/99] meson: set interface age; pass soversion to libgdk as well
- Date: Wed, 3 Apr 2019 19:08:14 +0000 (UTC)
commit b93113da2cacd4770338765d2944ae0fec2c80be
Author: Christoph Reiter <creiter src gnome org>
Date: Sat Mar 30 08:48:22 2019 +0100
meson: set interface age; pass soversion to libgdk as well
gdk/meson.build | 1 +
meson.build | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gdk/meson.build b/gdk/meson.build
index d9830de992..fd43415cbd 100644
--- a/gdk/meson.build
+++ b/gdk/meson.build
@@ -279,6 +279,7 @@ if cc.get_id() == 'msvc'
endif
libgdk = shared_library('gdk-3',
+ soversion: gtk_soversion,
sources: [gdk_sources, gdk_backends_gen_headers, gdkconfig],
dependencies: gdk_deps,
include_directories: [confinc, gdkx11_inc, wlinc],
diff --git a/meson.build b/meson.build
index 03bcf50588..2fb5f5513a 100644
--- a/meson.build
+++ b/meson.build
@@ -51,7 +51,7 @@ gtk_version = meson.project_version()
gtk_major_version = gtk_version.split('.')[0].to_int()
gtk_minor_version = gtk_version.split('.')[1].to_int()
gtk_micro_version = gtk_version.split('.')[2].to_int()
-gtk_interface_age = 0
+gtk_interface_age = 3
add_project_arguments('-DGTK_VERSION="@0@"'.format(meson.project_version()), language: 'c')
add_project_arguments('-D_GNU_SOURCE', language: 'c')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]