meson: Fix deprecated meson warning

The get_pkgconfig_variable method supports versions below 0.56.0,
and the current meson version is above 0.58.0, so the new method
get_variable should be used.

WARNING: Project targeting '>=0.58.0' but tried to use feature
deprecated since '0.56.0': Dependency.get_pkgconfig_variable. use
Dependency.get_variable(pkgconfig : ...) instead
WARNING: Deprecated features used:
* 0.56.0: {'Dependency.get_pkgconfig_variable'}

Tested: Verify that there are no such warnings in local CI.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Ie763577e156382263311ac9a03c4950ccb9594a4
1 file changed