diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2016-09-07 19:03:29 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-10-18 17:06:18 +0100 |
commit | 4a183f4d06f800f44e8a679dc2ae60149105e1ce (patch) | |
tree | a4b496e617eb002940287146bf8645a97ed84704 /src/loader/SConscript | |
parent | 0607c5b1b051d32653f9ed91e109c08fbecfb4c1 (diff) |
scons: loader: use libdrm when available
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Axel Davy <axel.davy@ens.fr>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Diffstat (limited to 'src/loader/SConscript')
-rw-r--r-- | src/loader/SConscript | 4 |
1 files changed, 4 insertions, 0 deletions
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') |