From cc952b055a8ae882a07019731a015f41b62d1f31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1igo=20Mart=C3=ADnez?= Date: Sun, 10 Dec 2017 16:27:33 +0100 Subject: 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. --- docs/markdown/Dependencies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') 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 -- cgit v1.1