meson: reorder core sources array
To hint that sources should be added to the lowest common denominator first
This commit is contained in:
+21
-21
@@ -1,5 +1,26 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
systemd_sources = files(
|
||||
'main.c',
|
||||
'crash-handler.c',
|
||||
'clock-warp.c',
|
||||
'kmod-setup.c',
|
||||
'apparmor-setup.c',
|
||||
'ima-setup.c',
|
||||
'ipe-setup.c',
|
||||
'smack-setup.c',
|
||||
'efi-random.c',
|
||||
)
|
||||
|
||||
if conf.get('HAVE_SELINUX') == 1
|
||||
systemd_sources += files('selinux-setup.c')
|
||||
endif
|
||||
|
||||
systemd_executor_sources = files(
|
||||
'executor.c',
|
||||
'exec-invoke.c',
|
||||
)
|
||||
|
||||
libcore_sources = files(
|
||||
'audit-fd.c',
|
||||
'automount.c',
|
||||
@@ -168,27 +189,6 @@ libcore = shared_library(
|
||||
install : true,
|
||||
install_dir : pkglibdir)
|
||||
|
||||
systemd_sources = files(
|
||||
'main.c',
|
||||
'crash-handler.c',
|
||||
'clock-warp.c',
|
||||
'kmod-setup.c',
|
||||
'apparmor-setup.c',
|
||||
'ima-setup.c',
|
||||
'ipe-setup.c',
|
||||
'smack-setup.c',
|
||||
'efi-random.c',
|
||||
)
|
||||
|
||||
if conf.get('HAVE_SELINUX') == 1
|
||||
systemd_sources += files('selinux-setup.c')
|
||||
endif
|
||||
|
||||
systemd_executor_sources = files(
|
||||
'executor.c',
|
||||
'exec-invoke.c',
|
||||
)
|
||||
|
||||
executor_libs = get_option('link-executor-shared') ? \
|
||||
[
|
||||
libcore,
|
||||
|
||||
Reference in New Issue
Block a user