From ff6f1dd0d3c6b4c15ca51b478b2884d14f6a1e06 Mon Sep 17 00:00:00 2001 From: Rhys Kidd Date: Wed, 12 Dec 2018 02:45:18 -0500 Subject: meson: libfreedreno depends upon libdrm (for fence support) Error message building freedreno Gallium driver with meson: ../src/gallium/drivers/freedreno/freedreno_fence.c:27:21: fatal error: libsync.h: No such file or directory \#include Fixes: 4aa69cc4257 ("meson: build freedreno") Signed-off-by: Rhys Kidd Reviewed-by: Emil Velikov Reviewed-by: Dylan Baker --- src/gallium/drivers/freedreno/meson.build | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/gallium/drivers/freedreno/meson.build') diff --git a/src/gallium/drivers/freedreno/meson.build b/src/gallium/drivers/freedreno/meson.build index 366b1468bef..df3c743d41d 100644 --- a/src/gallium/drivers/freedreno/meson.build +++ b/src/gallium/drivers/freedreno/meson.build @@ -232,9 +232,7 @@ libfreedreno = static_library( include_directories : freedreno_includes, c_args : [freedreno_c_args, c_vis_args], cpp_args : [freedreno_cpp_args, cpp_vis_args], - dependencies : [ - idep_nir_headers - ], + dependencies : [dep_libdrm, idep_nir_headers], ) driver_freedreno = declare_dependency( -- cgit v1.2.3