diff options
author | Qyriad <qyriad@qyriad.me> | 2024-06-01 19:17:13 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@lix-systems> | 2024-06-01 19:17:13 +0000 |
commit | d374a9908f8f92e479c736a160ef90af6df4ca94 (patch) | |
tree | 55020ae4d9c9aa6855b177a648e9bf88147e1826 /src/libfetchers | |
parent | b8cb7abcf08be01a291c970164a3f44dfca0ddbf (diff) | |
parent | e54d4c9381492d44a69469a0e719fea50e9914f3 (diff) |
Merge "build: fix static linking with a hack" into main
Diffstat (limited to 'src/libfetchers')
-rw-r--r-- | src/libfetchers/meson.build | 10 |
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 |