From: Zbigniew Jędrzejewski-Szmek Date: Thu, 28 Sep 2017 17:24:16 +0000 (+0200) Subject: meson: move library version defines to the top (#6939) X-Git-Tag: v235~45 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=56d50ab1d391d07be461c1ad04a410cbeee5d057;p=thirdparty%2Fsystemd.git meson: move library version defines to the top (#6939) --- diff --git a/meson.build b/meson.build index 70f40076e68..859454b76d6 100644 --- a/meson.build +++ b/meson.build @@ -10,6 +10,9 @@ project('systemd', 'c', meson_version : '>= 0.40', ) +libsystemd_version = '0.19.0' +libudev_version = '1.6.6' + # We need the same data in three different formats, ugh! # Also, for hysterical reasons, we use different variable # names, sometimes. Not all variables are included in every @@ -1126,7 +1129,7 @@ libsystemd = shared_library( 'systemd', libsystemd_internal_sources, journal_internal_sources, - version : '0.19.0', + version : libsystemd_version, include_directories : includes, link_args : ['-shared', '-Wl,--version-script=' + libsystemd_sym_path], diff --git a/src/libudev/meson.build b/src/libudev/meson.build index 1378f9a2517..57d678fa970 100644 --- a/src/libudev/meson.build +++ b/src/libudev/meson.build @@ -19,7 +19,7 @@ libudev_sym_path = '@0@/@1@'.format(meson.current_source_dir(), libudev_sym) libudev = shared_library( 'udev', libudev_sources, - version : '1.6.6', + version : libudev_version, include_directories : includes, link_args : ['-shared', '-Wl,--version-script=' + libudev_sym_path],