From: Emil Velikov Date: Wed, 12 Oct 2016 18:05:32 +0000 (+0100) Subject: radv: move AMDGPU_LIBS later in the link chain X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3fd0cafc1c04b35707e9f862d07edd0599fe18fa;p=mesa.git radv: move AMDGPU_LIBS later in the link chain At the moment (albeit unlikely) one could get link-time issues, since libdrm_amdgpu.so is before it's users in the link chain. Signed-off-by: Emil Velikov Reviewed-by: Dave Airlie Reviewed-by: Edward O'Callaghan Acked-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/Makefile.am b/src/amd/vulkan/Makefile.am index b6f3d002543..e2f5c029a07 100644 --- a/src/amd/vulkan/Makefile.am +++ b/src/amd/vulkan/Makefile.am @@ -58,7 +58,7 @@ VULKAN_SOURCES = \ $(VULKAN_GENERATED_FILES) \ $(VULKAN_FILES) -VULKAN_LIB_DEPS = $(AMDGPU_LIBS) +VULKAN_LIB_DEPS = if HAVE_PLATFORM_X11 @@ -100,6 +100,7 @@ VULKAN_LIB_DEPS += \ $(LLVM_LIBS) \ $(LIBELF_LIBS) \ $(PTHREAD_LIBS) \ + $(AMDGPU_LIBS) \ $(LIBDRM_LIBS) \ $(PTHREAD_LIBS) \ $(DLOPEN_LIBS) \