Commit 4a183f4d authored by Emil Velikov's avatar Emil Velikov Committed by Emil Velikov

scons: loader: use libdrm when available

Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Reviewed-by: Axel Davy's avatarAxel Davy <axel.davy@ens.fr>
Reviewed-by: default avatarNicolai Hähnle <nicolai.haehnle@amd.com>
parent 0607c5b1
......@@ -12,6 +12,10 @@ if env['udev']:
env.PkgUseModules('UDEV')
env.Append(CPPDEFINES = ['HAVE_LIBUDEV'])
if env['drm']:
env.PkgUseModules('DRM')
env.Append(CPPDEFINES = ['HAVE_LIBDRM'])
# parse Makefile.sources
sources = env.ParseSourceList('Makefile.sources', 'LOADER_C_FILES')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment