diff options
author | Emil Velikov <[email protected]> | 2016-09-07 19:03:29 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-10-18 17:06:18 +0100 |
commit | 4a183f4d06f800f44e8a679dc2ae60149105e1ce (patch) | |
tree | a4b496e617eb002940287146bf8645a97ed84704 /src | |
parent | 0607c5b1b051d32653f9ed91e109c08fbecfb4c1 (diff) |
scons: loader: use libdrm when available
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Axel Davy <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src')
-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 d98f11e3cf6..c54e50a921c 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') |