summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2017-12-10 16:27:33 +0100
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2017-12-12 18:33:04 +0000
commitcc952b055a8ae882a07019731a015f41b62d1f31 (patch)
tree3a9417f5447f4208a0ea9415224c1d9d26bb7a3a
parent514d21e6a464a93dee2f2266623271007b87d99d (diff)
downloadmeson-cc952b055a8ae882a07019731a015f41b62d1f31.tar.gz
docs: Change variable in pkg-config example
The example provided for the `get_pkgconfig_variable` when using using the `define_variable` parameter is not the best example, because it is using `prefix` for both. This changes the retrieved variable for `libdir` so the efect of the variable redefinition is more noticeable.
-rw-r--r--docs/markdown/Dependencies.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/markdown/Dependencies.md b/docs/markdown/Dependencies.md
index 90b4c1d37..b36d275fb 100644
--- a/docs/markdown/Dependencies.md
+++ b/docs/markdown/Dependencies.md
@@ -55,7 +55,7 @@ These variables can also be redefined by passing the `define_variable`
parameter, which might be useful in certain situations:
```meson
-zdep_prefix = zdep.get_pkgconfig_variable('prefix', define_variable: ['prefix', '/tmp'])
+zdep_prefix = zdep.get_pkgconfig_variable('libdir', define_variable: ['prefix', '/tmp'])
```
The dependency detector works with all libraries that provide a