summaryrefslogtreecommitdiffstats
path: root/src/test/meson.build
diff options
context:
space:
mode:
authorMatteo Croce <teknoraver@meta.com>2024-02-27 21:28:14 +0100
committerMatteo Croce <teknoraver@meta.com>2024-03-05 12:37:21 +0100
commit3fc72d54132151c131301fc7954e0b44cdd3c860 (patch)
tree728c155c4fac5c52ca571615b753cefa4b5306c2 /src/test/meson.build
parentmove dlfcn-util into basic (diff)
downloadsystemd-3fc72d54132151c131301fc7954e0b44cdd3c860.tar.xz
systemd-3fc72d54132151c131301fc7954e0b44cdd3c860.zip
dynamically load compression libraries
Dynamically load liblz4, libzstd and liblzma with dlopen(). This helps to reduce the size of the initrd image when these libraries are not really needed.
Diffstat (limited to 'src/test/meson.build')
-rw-r--r--src/test/meson.build10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/test/meson.build b/src/test/meson.build
index a0f3882480..426a54fd29 100644
--- a/src/test/meson.build
+++ b/src/test/meson.build
@@ -247,18 +247,12 @@ executables += [
},
test_template + {
'sources' : files('test-compress-benchmark.c'),
- 'link_with' : [
- libbasic_compress,
- libshared,
- ],
+ 'link_with' : [libshared],
'timeout' : 90,
},
test_template + {
'sources' : files('test-compress.c'),
- 'link_with' : [
- libbasic_compress,
- libshared,
- ],
+ 'link_with' : [libshared],
},
test_template + {
'sources' : files('test-cryptolib.c'),