Commit 9dc99b38 authored by Tom Schoonjans's avatar Tom Schoonjans Committed by Christian Hergert

build: Fix macOS versioning

parent 4281fe85
......@@ -26,6 +26,8 @@ current = jsonrpc_glib_version_minor * 100 + jsonrpc_glib_version_micro - jsonrp
revision = jsonrpc_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', 'libjsonrpc_glib')
config_h.set_quoted('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir')))
......
......@@ -52,11 +52,12 @@ libjsonrpc_glib = library(
'jsonrpc-glib-' + apiversion,
libjsonrpc_glib_sources,
c_args: hidden_visibility_args + release_args,
dependencies: libjsonrpc_glib_deps,
soversion: soversion,
version: libversion,
install: true,
c_args: hidden_visibility_args + release_args,
dependencies: libjsonrpc_glib_deps,
soversion: soversion,
version: libversion,
darwin_versions: darwin_versions,
install: true,
)
libjsonrpc_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