[Mesa-dev] [PATCH] radv: Change a linking order of AMDGPU_LIBS
Gwan-gyeong Mun
elongbug at gmail.com
Mon Jul 24 11:20:36 UTC 2017
Because of "libvulkan_common.la" directly links libdrm_amdgpu api prior to
"libvulkan_radeon.la", it change a linking order of AMDGPU_LIBS from
"libvulkan_radeon.la" to "libvulkan_common.la".
Signed-off-by: Mun Gwan-gyeong <elongbug at gmail.com>
---
src/amd/vulkan/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/amd/vulkan/Makefile.am b/src/amd/vulkan/Makefile.am
index 3350f54540..1fc574b5e6 100644
--- a/src/amd/vulkan/Makefile.am
+++ b/src/amd/vulkan/Makefile.am
@@ -70,7 +70,6 @@ VULKAN_LIB_DEPS = \
$(LLVM_LIBS) \
$(LIBELF_LIBS) \
$(PTHREAD_LIBS) \
- $(AMDGPU_LIBS) \
$(LIBDRM_LIBS) \
$(PTHREAD_LIBS) \
$(DLOPEN_LIBS) \
@@ -101,6 +100,7 @@ endif
noinst_LTLIBRARIES = libvulkan_common.la
libvulkan_common_la_SOURCES = $(VULKAN_SOURCES)
+libvulkan_common_la_LIBADD = $(AMDGPU_LIBS)
nodist_EXTRA_libvulkan_radeon_la_SOURCES = dummy.cpp
libvulkan_radeon_la_SOURCES = $(VULKAN_GEM_FILES)
--
2.13.3
More information about the mesa-dev
mailing list