summaryrefslogtreecommitdiff
path: root/sys-boot/systemd-boot/files/235-libshared-static.patch
blob: 2a0bf678539bbcc4af335017c0a5ef5b72cc67d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/meson.build
+++ b/meson.build
@@ -1505,9 +1505,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],
                          dependencies : [libblkid],
-                         install_rpath : rootlibexecdir,
                          install : true)
         public_programs += [exe]
 endif
diff --git a/src/shared/meson.build b/src/shared/meson.build
index 883821352..b560e65c9 100644
--- a/src/shared/meson.build
+++ b/src/shared/meson.build
@@ -157,5 +157,6 @@ libshared_static = static_library(
         libshared_name,
         shared_sources,
         basic_sources,
+        libsystemd_internal_sources,
         include_directories : includes,
         dependencies : libshared_deps)