From 4a183f4d06f800f44e8a679dc2ae60149105e1ce Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Wed, 7 Sep 2016 19:03:29 +0100 Subject: scons: loader: use libdrm when available MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Emil Velikov Reviewed-by: Axel Davy Reviewed-by: Nicolai Hähnle --- src/loader/SConscript | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/loader/SConscript b/src/loader/SConscript index d98f11e3cf..c54e50a921 100644 --- a/src/loader/SConscript +++ b/src/loader/SConscript @@ -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') -- cgit v1.2.3