aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-04-08 01:08:51 +0300
committerGitHub <noreply@github.com>2018-04-08 01:08:51 +0300
commitd6e71d0c566416c0ba940323c6f2734695c999d0 (patch)
treef87bf2eddd51f69213419b117162274725c480a9 /docs/markdown
parent09dd9e20df33c2ce91ec3304df6ad3909147987b (diff)
parent1105ba3afdf2f533782c5cc5ee984745989a1914 (diff)
downloadmeson-d6e71d0c566416c0ba940323c6f2734695c999d0.zip
meson-d6e71d0c566416c0ba940323c6f2734695c999d0.tar.gz
meson-d6e71d0c566416c0ba940323c6f2734695c999d0.tar.bz2
Merge pull request #3312 from MathieuDuponchelle/alwaysfallback
new wrap-mode: forcefallback
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/FAQ.md6
-rw-r--r--docs/markdown/snippets/new-wrap-mode.md3
2 files changed, 9 insertions, 0 deletions
diff --git a/docs/markdown/FAQ.md b/docs/markdown/FAQ.md
index f4cf89b..398604a 100644
--- a/docs/markdown/FAQ.md
+++ b/docs/markdown/FAQ.md
@@ -288,3 +288,9 @@ has a option called `wrap-mode` which can be used to disable wrap
downloads altogether with `--wrap-mode=nodownload`. You can also
disable dependency fallbacks altogether with `--wrap-mode=nofallback`,
which also implies the `nodownload` option.
+
+If on the other hand, you want meson to always use the fallback
+for dependencies, even when an external dependency exists and could
+satisfy the version requirements, for example in order to make
+sure your project builds when fallbacks are used, you can use
+`--wrap-mode=forcefallback` since 0.46.0.
diff --git a/docs/markdown/snippets/new-wrap-mode.md b/docs/markdown/snippets/new-wrap-mode.md
new file mode 100644
index 0000000..e33dd83
--- /dev/null
+++ b/docs/markdown/snippets/new-wrap-mode.md
@@ -0,0 +1,3 @@
+A new wrap mode was added, `--wrap-mode=forcefallback`. When this is set,
+dependencies for which a fallback was provided will always use it, even
+if an external dependency exists and satisfies the version requirements.