]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: move library version defines to the top (#6939)
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 28 Sep 2017 17:24:16 +0000 (19:24 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 28 Sep 2017 17:24:16 +0000 (19:24 +0200)
meson.build
src/libudev/meson.build

index 70f40076e68988388be9cc1e7ee7d2d54a0858ad..859454b76d625ee677f0eaf6ce203e7a23a14e5c 100644 (file)
@@ -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],
index 1378f9a25179976720abc3228d4ce5fb0e72a4b3..57d678fa9703398f65aa76534ede09857f7692e2 100644 (file)
@@ -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],