diff options
author | Adam Jackson <ajax@redhat.com> | 2018-02-06 18:21:51 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2018-02-06 18:21:51 -0500 |
commit | 5c6e9a6e3af35e955d97ab016985be18636042e4 (patch) | |
tree | a6e25529a8c5dbb061a4fd8f3438e83f402d535c | |
parent | 0e6b611a89a5bccd6d5b5d3b6df507643055d7f1 (diff) |
meson: Fix xf86driproto.pc
These headers are in X11/dri but are included without a relative path.
Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r-- | meson.build | 8 |
1 files changed, 7 insertions, 1 deletions
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 |