meson: Install dri.pc file when building gallium dri drivers
authorDylan Baker <dylan@pnwbakers.com>
Fri, 1 Dec 2017 22:01:40 +0000 (14:01 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Mon, 4 Dec 2017 18:14:09 +0000 (10:14 -0800)
commit2be2565b9e8b86bd7c65d94287cd03ced6e93bcd
tree9a5f2af9ee226d20553573ae92d31dc9a22ade56
parent2ead8f1690823bbb1acb8102bb6ceee26e8574b1
meson: Install dri.pc file when building gallium dri drivers

Currently this pkg-config file is only installed if a classic dri driver
is built. This is wrong, it should be installed if any dri driver is
installed, which includes the gallium dri target.

Reported-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/mesa/drivers/dri/meson.build