meson: libfreedreno depends upon libdrm (for fence support)
authorRhys Kidd <rhyskidd@gmail.com>
Wed, 12 Dec 2018 07:45:18 +0000 (02:45 -0500)
committerDylan Baker <dylan@pnwbakers.com>
Wed, 12 Dec 2018 17:01:06 +0000 (09:01 -0800)
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 <libsync.h>

Fixes: 4aa69cc4257 ("meson: build freedreno")
Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
src/gallium/drivers/freedreno/meson.build

index 366b1468bef465831cffb4fd4092926bd116f971..df3c743d41d61efbd653b084c9fb0a4b9ca760f7 100644 (file)
@@ -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(