From 3fd0cafc1c04b35707e9f862d07edd0599fe18fa Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Wed, 12 Oct 2016 19:05:32 +0100 Subject: 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 --- src/amd/vulkan/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/amd') 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) \ -- cgit v1.2.3