aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/meson.build')
-rw-r--r--src/libutil/meson.build10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libutil/meson.build b/src/libutil/meson.build
index cfdd0e52c..8c3377e76 100644
--- a/src/libutil/meson.build
+++ b/src/libutil/meson.build
@@ -155,3 +155,13 @@ liblixutil = declare_dependency(
include_directories : include_directories('.'),
link_with : libutil
)
+
+# FIXME: remove when https://git.lix.systems/lix-project/lix/issues/359 is fixed.
+if is_static
+ liblixutil_mstatic = declare_dependency(
+ include_directories : include_directories('.'),
+ link_whole : libutil,
+ )
+else
+ liblixutil_mstatic = liblixutil
+endif