summaryrefslogtreecommitdiff
blob: 9966a5f791622d6019b00f473e2bfcc964364dd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/meson.build b/meson.build
index 36a62d280..87f8da29b 100644
--- a/meson.build
+++ b/meson.build
@@ -1662,9 +1662,8 @@ if conf.get('ENABLE_EFI') == 1 and conf.get('HAVE_BLKID') == 1
         exe = executable('bootctl',
                          'src/boot/bootctl.c',
                          include_directories : includes,
-                         link_with : [libshared],
+                         link_with : [libshared_static, libsystemd_static],
                          dependencies : [libblkid],
-                         install_rpath : rootlibexecdir,
                          install : true)
         public_programs += [exe]
 endif