diff options
author | Iñigo MartÃnez <inigomartinez@gmail.com> | 2017-12-10 16:27:33 +0100 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2017-12-12 18:33:04 +0000 |
commit | cc952b055a8ae882a07019731a015f41b62d1f31 (patch) | |
tree | 3a9417f5447f4208a0ea9415224c1d9d26bb7a3a | |
parent | 514d21e6a464a93dee2f2266623271007b87d99d (diff) | |
download | meson-cc952b055a8ae882a07019731a015f41b62d1f31.zip meson-cc952b055a8ae882a07019731a015f41b62d1f31.tar.gz meson-cc952b055a8ae882a07019731a015f41b62d1f31.tar.bz2 |
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.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/markdown/Dependencies.md b/docs/markdown/Dependencies.md index 90b4c1d..b36d275 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 |