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