diff mbox

[xf86-video-intel] meson: Add libdrm dependency for intel_drv

Message ID 20180601171002.22422-1-ville.syrjala@linux.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ville Syrjälä June 1, 2018, 5:10 p.m. UTC
From: Ville Syrjälä <ville.syrjala@linux.intel.com>

Looks like we need a libdrm dep on intel_drv. Build fails for me on
Arch.

In file included from ../src/intel_device.c:51:
/usr/include/xf86drm.h:40:10: fatal error: drm.h: No such file or directory
 #include <drm.h>

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 src/meson.build | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/src/meson.build b/src/meson.build
index 3998dac8d1fb..c038ba3ed989 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -92,6 +92,7 @@  intel_drv_sources = [
 
 intel_drv_deps = [
   dependency('pciaccess', version : '>= 0.10', required : true),
+  libdrm,
   xorg,
 ]