aboutsummaryrefslogtreecommitdiffstats
path: root/src/loader/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/loader/SConscript')
-rw-r--r--src/loader/SConscript5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/loader/SConscript b/src/loader/SConscript
index 76b0871005b..359fc1850fe 100644
--- a/src/loader/SConscript
+++ b/src/loader/SConscript
@@ -1,15 +1,12 @@
Import('*')
-if not env['drm']:
- Return()
-
env = env.Clone()
env.Prepend(CPPPATH = [
'#include'
])
-env.PkgUseModules('DRM')
+env.Append(CPPDEFINES = ['__NOT_HAVE_DRM_H'])
if env['udev']:
env.PkgUseModules('UDEV')