From: Luca Boccassi Date: Wed, 20 May 2026 16:30:31 +0000 (+0100) Subject: meson: reorder core sources array X-Git-Tag: v261-rc1~63^2~2 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=70b6dc763146459ffa3608d93350ef2004b95a2b;p=thirdparty%2Fsystemd.git meson: reorder core sources array To hint that sources should be added to the lowest common denominator first --- diff --git a/src/core/meson.build b/src/core/meson.build index a56df224abc..74871444a39 100644 --- a/src/core/meson.build +++ b/src/core/meson.build @@ -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,