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.
pull/2780/head
Iñigo Martínez 7 years ago committed by Nirbheek Chauhan
parent 514d21e6a4
commit cc952b055a
  1. 2
      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

Loading…
Cancel
Save