aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2021-01-30 11:30:16 +0000
committerGitHub <noreply@github.com>2021-01-30 11:30:16 +0000
commitc67e0a8a6785ab5f139491786fa064905278d951 (patch)
tree848cd21be5fbf4c8cedae03fa0f4f72f59b92f0a /docs/markdown/snippets
parentf0fbb31ccfa78ca1d7b7f9cedfbb090bf36d3e64 (diff)
parentef7dfa97fc6f20d8793609fc086718399c08a85a (diff)
downloadmeson-c67e0a8a6785ab5f139491786fa064905278d951.zip
meson-c67e0a8a6785ab5f139491786fa064905278d951.tar.gz
meson-c67e0a8a6785ab5f139491786fa064905278d951.tar.bz2
Merge pull request #8264 from xclaesse/ep-misc
external_project: misc improvements
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/external_project.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/markdown/snippets/external_project.md b/docs/markdown/snippets/external_project.md
new file mode 100644
index 0000000..b48dc35
--- /dev/null
+++ b/docs/markdown/snippets/external_project.md
@@ -0,0 +1,11 @@
+## `unstable_external_project` improvements
+
+- Default arguments are added to `add_project()` in case some tags are not found
+ in `configure_options`: `'--prefix=@PREFIX@'`, `'--libdir=@PREFIX@/@LIBDIR@'`,
+ and `'--includedir=@PREFIX@/@INCLUDEDIR@'`. It was previously considered a fatal
+ error to not specify them.
+- When `verbose` keyword argument is not specified, or is false, command outputs
+ are written on file in `<builddir>/meson-logs/`.
+- `LD` environment variable is not passed any more when running the configure
+ script. It caused issues because Meson uses CC as linker wrapper but autotools
+ expects to real linker (e.g. `/usr/bin/ld`).