meson: fix getting cflags from pkg-config
authorGreg V <greg@unrelenting.technology>
Wed, 24 Jan 2018 18:02:42 +0000 (21:02 +0300)
committerDylan Baker <dylan@pnwbakers.com>
Wed, 24 Jan 2018 23:25:54 +0000 (15:25 -0800)
commit53f9131205a63fa8b282ab2a7e96c48209447da0
treea843a968aba6ce06d026cc65124733946e051815
parentc38c60a63c63b02d1030c6c349aa0a73105e10eb
meson: fix getting cflags from pkg-config

get_pkgconfig_variable('cflags') always returns an empty list, it's a
function for getting *custom* variables.

Meson does not yet support asking for cflags, so explicitly invoke
pkg-config for now.

Fixes: 68076b87474e ("meson: build gallium vdpau state tracker")
Fixes: a817af8a89eb ("meson: build gallium xvmc state tracker")
Fixes: 1d36dc674d52 ("meson: build gallium omx state tracker")
Fixes: 5a785d51a6d6 ("meson: build gallium va state tracker")
Reviewed-by: Dylan Baker <dylan.c.baker@intel.com>
meson.build