Meson: Add datadir and datarootdir variables to libglvnd.pc.
Add the missing datadir and datarootdir variables to the libglvnd.pc file that Meson generates.
This commit is contained in:
parent
42a25c1ed7
commit
45e2a061e8
|
@ -205,5 +205,12 @@ pkg.generate(
|
|||
name : 'libglvnd',
|
||||
description : 'Vendor-neutral OpenGL dispatch library vendor interface',
|
||||
version : meson.project_version(),
|
||||
variables : [
|
||||
# Drivers can use these to know where to install the JSON files to tell
|
||||
# libglvnd to load them. Meson doesn't have a separate datarootdir option,
|
||||
# so juse use datadir for both of these.
|
||||
'datarootdir=${prefix}/' + get_option('datadir'),
|
||||
'datadir=${prefix}/' + get_option('datadir'),
|
||||
]
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue