From: Rhys Kidd Date: Wed, 12 Dec 2018 07:45:18 +0000 (-0500) Subject: meson: libfreedreno depends upon libdrm (for fence support) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff6f1dd0d3c6b4c15ca51b478b2884d14f6a1e06;p=mesa.git 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 --- 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(