diff options
Diffstat (limited to 'mesalib/src/loader/SConscript')
-rw-r--r-- | mesalib/src/loader/SConscript | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mesalib/src/loader/SConscript b/mesalib/src/loader/SConscript index 76b087100..359fc1850 100644 --- a/mesalib/src/loader/SConscript +++ b/mesalib/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') |