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>
name : 'd3d',
description : 'Native D3D driver modules',
version : '.'.join(nine_version),
- requires_private : 'libdrm >= 2.4.75',
+ requires_private : 'libdrm >= ' + dep_libdrm.version(),
variables : ['moduledir=${prefix}/@0@'.format(d3d_drivers_path)],
)
if with_dri
dri_req_private = []
if dep_libdrm.found()
- dri_req_private = ['libdrm >= 2.4.75'] # FIXME: don't hardcode this
+ dri_req_private = ['libdrm >= ' + dep_libdrm.version()]
endif
pkg.generate(