]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: reorder core sources array
authorLuca Boccassi <luca.boccassi@gmail.com>
Wed, 20 May 2026 16:30:31 +0000 (17:30 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 20 May 2026 17:15:56 +0000 (18:15 +0100)
To hint that sources should be added to the lowest common denominator
first

src/core/meson.build

index a56df224abcd2eceb3a619def4ae75e996e5f0d9..74871444a3913a93ec4fbfb126ab682dd5d93f37 100644 (file)
@@ -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,