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.
This commit is contained in:
Iñigo Martínez 2017-12-10 16:27:33 +01:00 committed by Nirbheek Chauhan
parent 514d21e6a4
commit cc952b055a
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ These variables can also be redefined by passing the `define_variable`
parameter, which might be useful in certain situations: parameter, which might be useful in certain situations:
```meson ```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 The dependency detector works with all libraries that provide a