mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 17:40:11 +01:00
meson: use dep_libdrm version for pkg-config
This corrects pkg-config to use the libdrm version (as computed by the previous patch) instead of using a hardcoded value that may or may not (probably not) be right. Signed-off-by: Dylan Baker <dylan.c.baker@intel.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
This commit is contained in:
parent
c445b1d56f
commit
a3a16d4aa7
2 changed files with 2 additions and 2 deletions
|
|
@ -71,6 +71,6 @@ pkg.generate(
|
||||||
name : 'd3d',
|
name : 'd3d',
|
||||||
description : 'Native D3D driver modules',
|
description : 'Native D3D driver modules',
|
||||||
version : '.'.join(nine_version),
|
version : '.'.join(nine_version),
|
||||||
requires_private : 'libdrm >= 2.4.75',
|
requires_private : 'libdrm >= ' + dep_libdrm.version(),
|
||||||
variables : ['moduledir=${prefix}/@0@'.format(d3d_drivers_path)],
|
variables : ['moduledir=${prefix}/@0@'.format(d3d_drivers_path)],
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,7 @@ endif
|
||||||
if with_dri
|
if with_dri
|
||||||
dri_req_private = []
|
dri_req_private = []
|
||||||
if dep_libdrm.found()
|
if dep_libdrm.found()
|
||||||
dri_req_private = ['libdrm >= 2.4.75'] # FIXME: don't hardcode this
|
dri_req_private = ['libdrm >= ' + dep_libdrm.version()]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
pkg.generate(
|
pkg.generate(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue