mirror of
https://github.com/systemd/systemd.git
synced 2025-01-09 01:18:19 +03:00
meson: move library version defines to the top (#6939)
This commit is contained in:
parent
e88fe88877
commit
56d50ab1d3
@ -10,6 +10,9 @@ project('systemd', 'c',
|
|||||||
meson_version : '>= 0.40',
|
meson_version : '>= 0.40',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
libsystemd_version = '0.19.0'
|
||||||
|
libudev_version = '1.6.6'
|
||||||
|
|
||||||
# We need the same data in three different formats, ugh!
|
# We need the same data in three different formats, ugh!
|
||||||
# Also, for hysterical reasons, we use different variable
|
# Also, for hysterical reasons, we use different variable
|
||||||
# names, sometimes. Not all variables are included in every
|
# names, sometimes. Not all variables are included in every
|
||||||
@ -1126,7 +1129,7 @@ libsystemd = shared_library(
|
|||||||
'systemd',
|
'systemd',
|
||||||
libsystemd_internal_sources,
|
libsystemd_internal_sources,
|
||||||
journal_internal_sources,
|
journal_internal_sources,
|
||||||
version : '0.19.0',
|
version : libsystemd_version,
|
||||||
include_directories : includes,
|
include_directories : includes,
|
||||||
link_args : ['-shared',
|
link_args : ['-shared',
|
||||||
'-Wl,--version-script=' + libsystemd_sym_path],
|
'-Wl,--version-script=' + libsystemd_sym_path],
|
||||||
|
@ -19,7 +19,7 @@ libudev_sym_path = '@0@/@1@'.format(meson.current_source_dir(), libudev_sym)
|
|||||||
libudev = shared_library(
|
libudev = shared_library(
|
||||||
'udev',
|
'udev',
|
||||||
libudev_sources,
|
libudev_sources,
|
||||||
version : '1.6.6',
|
version : libudev_version,
|
||||||
include_directories : includes,
|
include_directories : includes,
|
||||||
link_args : ['-shared',
|
link_args : ['-shared',
|
||||||
'-Wl,--version-script=' + libudev_sym_path],
|
'-Wl,--version-script=' + libudev_sym_path],
|
||||||
|
Loading…
Reference in New Issue
Block a user