1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-03-08 20:58:20 +03:00

meson: move several definitions related libsystemd to src/libsystemd/meson.build

This commit is contained in:
Yu Watanabe 2021-01-05 15:03:39 +09:00
parent 40dbce36df
commit 024e9084c1
2 changed files with 5 additions and 5 deletions

View File

@ -1642,7 +1642,6 @@ subdir('src/shared')
subdir('src/udev')
subdir('src/libudev')
libsystemd_sym_path = '@0@/@1@'.format(project_source_root, libsystemd_sym)
libsystemd = shared_library(
'systemd',
disable_mempool_c,
@ -1662,9 +1661,6 @@ libsystemd = shared_library(
install : true,
install_dir : rootlibdir)
static_libsystemd = get_option('static-libsystemd')
static_libsystemd_pic = static_libsystemd == 'true' or static_libsystemd == 'pic'
install_libsystemd_static = static_library(
'systemd',
libsystemd_sources,

View File

@ -170,7 +170,11 @@ libsystemd_static = static_library(
librt],
c_args : libsystemd_c_args)
libsystemd_sym = 'src/libsystemd/libsystemd.sym'
libsystemd_sym = files('libsystemd.sym')
libsystemd_sym_path = join_paths(meson.current_source_dir(), 'libsystemd.sym')
static_libsystemd = get_option('static-libsystemd')
static_libsystemd_pic = static_libsystemd == 'true' or static_libsystemd == 'pic'
configure_file(
input : 'libsystemd.pc.in',