[gcab: 1/2] meson: add proper macOS dylib versioning support
- From: Marc-André Lureau <malureau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcab: 1/2] meson: add proper macOS dylib versioning support
- Date: Mon, 14 Oct 2019 19:22:48 +0000 (UTC)
commit 94dc0cacbd25ce6e9a33018ad63247602653afb6
Author: Tom Schoonjans <Tom Schoonjans diamond ac uk>
Date: Tue Oct 8 09:51:46 2019 +0100
meson: add proper macOS dylib versioning support
libgcab/meson.build | 1 +
meson.build | 1 +
2 files changed, 2 insertions(+)
---
diff --git a/libgcab/meson.build b/libgcab/meson.build
index 3c4ac68..7da6c9a 100644
--- a/libgcab/meson.build
+++ b/libgcab/meson.build
@@ -41,6 +41,7 @@ libgcab = shared_library(
],
soversion : lt_current,
version : lt_version,
+ darwin_versions: darwin_versions,
dependencies : [
gio,
libz,
diff --git a/meson.build b/meson.build
index 27077cf..547de63 100644
--- a/meson.build
+++ b/meson.build
@@ -16,6 +16,7 @@ lt_current = '0'
lt_revision = '0'
lt_age = '0'
lt_version = '@0@.@1@.@2@'.format(lt_current, lt_age, lt_revision)
+darwin_versions = [lt_current.to_int() + 1, '@0@.@1@.0'.format(lt_current.to_int() + 1, lt_revision)]
# get suported warning flags
test_args = [
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]