From 4df98c3c0ca14b3fc6468ef792bbb7484d1e8c47 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 18 Sep 2020 12:43:18 -0700 Subject: [PATCH] turnip: Only link libdrm in the DRM case, not KGSL. libvulkan's not a fan of opening my libdrm.so.2 from /vendor/lib64 or /vendor/lib64/hw, but then we shouldn't need it, anyway. Part-of: --- src/freedreno/vulkan/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedreno/vulkan/meson.build b/src/freedreno/vulkan/meson.build index 6d97698f41a..3e22ab4d7b9 100644 --- a/src/freedreno/vulkan/meson.build +++ b/src/freedreno/vulkan/meson.build @@ -111,6 +111,7 @@ if with_freedreno_kgsl libtu_files += files('tu_kgsl.c') else libtu_files += files('tu_drm.c') + tu_deps += dep_libdrm endif libvulkan_freedreno = shared_library( @@ -136,7 +137,6 @@ libvulkan_freedreno = shared_library( idep_libfreedreno_common, dep_dl, dep_elf, - dep_libdrm, dep_m, dep_thread, dep_valgrind,