Skip to contentSkip to conversation

meson: Add libdrm dependency for intel_drv

PATCH New Ville Syrjala 1 participant 1 message Jun 1, 2018 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meson: Add libdrm dependency for intel_drv

From: Ville Syrjälä <[email protected]>

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>

---
 src/meson.build | 1 +
 1 file changed, 1 insertion(+)
src/meson.build +1 -0
index 3998dac8d1fb..c038ba3ed989 100644
@@ -92,6 +92,7 @@ intel_drv_sources = [
 
 intel_drv_deps = [
   dependency('pciaccess', version : '>= 0.10', required : true),
+  libdrm,
   xorg,
 ]
 
Signature · 6 lines
2.16.4

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx