Commit 527b17d5 authored by Tom Schoonjans's avatar Tom Schoonjans Committed by Christian Hergert

build: Fix macOS versioning

parent f7813f4a
......@@ -26,6 +26,8 @@ current = template_glib_version_minor * 100 + template_glib_version_micro - temp
revision = template_glib_interface_age
libversion = '@0@.@1@.@2@'.format(soversion, current, revision)
darwin_versions = [current + 1, '@0@.@1@'.format(current + 1, revision)]
config_h = configuration_data()
config_h.set_quoted('GETTEXT_PACKAGE', 'libtemplate_glib')
config_h.set_quoted('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir')))
......
......@@ -145,10 +145,11 @@ libtemplate_glib = library(
'template_glib-' + apiversion,
libtemplate_glib_sources,
dependencies: libtemplate_glib_deps,
soversion: soversion,
version: libversion,
install: true,
dependencies: libtemplate_glib_deps,
soversion: soversion,
version: libversion,
darwin_versions: darwin_versions,
install: true,
)
libtemplate_glib_dep = declare_dependency(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment