diff options
author | Matteo Croce <teknoraver@meta.com> | 2024-02-27 21:28:14 +0100 |
---|---|---|
committer | Matteo Croce <teknoraver@meta.com> | 2024-03-05 12:37:21 +0100 |
commit | 3fc72d54132151c131301fc7954e0b44cdd3c860 (patch) | |
tree | 728c155c4fac5c52ca571615b753cefa4b5306c2 /src/test/meson.build | |
parent | move dlfcn-util into basic (diff) | |
download | systemd-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.build | 10 |
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'), |