Make .standalone programs same as normal and avoid double compilation (#40148)

This commit is contained in:
Daan De Meyer
2025-12-19 14:58:34 +01:00
committed by GitHub
8 changed files with 59 additions and 101 deletions
+2 -3
View File
@@ -8,7 +8,7 @@ executables += [
executable_template + {
'name' : 'systemd-repart',
'public' : true,
'sources' : files('repart.c'),
'extract' : files('repart.c'),
'link_with' : [
libshared,
libshared_fdisk,
@@ -24,8 +24,7 @@ executables += [
executable_template + {
'name' : 'systemd-repart.standalone',
'public' : true,
'sources' : files('repart.c'),
'c_args' : '-DSTANDALONE',
'objects' : ['systemd-repart'],
'link_with' : [
libc_wrapper_static,
libbasic_static,