[pango: 1/2] meson: fix darwin_versions



commit 2eaa4feab269436b3dadc6b058236c19086960e0
Author: Tom Schoonjans <Tom Schoonjans diamond ac uk>
Date:   Sat Jul 27 17:43:57 2019 +0100

    meson: fix darwin_versions
    
    The darwin_versions argument should take into account the interface_age

 meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 8c41381c..8680e56f 100644
--- a/meson.build
+++ b/meson.build
@@ -42,7 +42,8 @@ pango_conf.set('PANGO_VERSION_MICRO', pango_micro_version)
 # Maintain version scheme with libtool
 pango_soversion = 0
 pango_libversion = '@0@.@1@.@2@'.format(pango_soversion, (pango_binary_age - pango_interface_age), 
pango_interface_age)
-pango_osxversion = pango_binary_age + 1
+osx_current = pango_binary_age - pango_interface_age + 1
+pango_osxversion = [osx_current, '@0@.@1@.0'.format(osx_current, pango_interface_age)]
 
 cc = meson.get_compiler('c')
 host_system = host_machine.system()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]