aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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`).