summaryrefslogtreecommitdiffstats
path: root/src/loader
diff options
context:
space:
mode:
Diffstat (limited to 'src/loader')
-rw-r--r--src/loader/SConscript4
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')