radv: move AMDGPU_LIBS later in the link chain
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 12 Oct 2016 18:05:32 +0000 (19:05 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 14 Oct 2016 10:09:00 +0000 (11:09 +0100)
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 <emil.velikov@collabora.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/Makefile.am

index b6f3d0025438f0567cf2c7e095b4bf3786d2848c..e2f5c029a073456c740abfc07d406390292f870c 100644 (file)
@@ -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) \