From 5c6e9a6e3af35e955d97ab016985be18636042e4 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 6 Feb 2018 18:21:51 -0500 Subject: meson: Fix xf86driproto.pc These headers are in X11/dri but are included without a relative path. Signed-off-by: Adam Jackson --- meson.build | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 5269fb0..d24bb1e 100644 --- a/meson.build +++ b/meson.build @@ -58,12 +58,18 @@ pcs = [ ] foreach pc : pcs + if pc[0] == 'xf86driproto' + subdir = 'X11/dri' + else + subdir = '' + endif pkg.generate( name : pc[0], filebase : pc[0], description : pc[0] + ' headers', version : pc[1], - install_dir : get_option('datadir') + '/pkgconfig' + install_dir : get_option('datadir') + '/pkgconfig', + subdirs : subdir, ) endforeach -- cgit v1.2.3