From: Emil Velikov Date: Thu, 21 Apr 2016 00:27:17 +0000 (+0100) Subject: anv: tweak libvulkan_intel.so link libraries X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc7802098e9b5a0d5a3eccc1dfc62a21aa0b77e8;p=mesa.git anv: tweak libvulkan_intel.so link libraries i.e do not use -lfoo directly. Signed-off-by: Emil Velikov --- diff --git a/src/intel/vulkan/Makefile.am b/src/intel/vulkan/Makefile.am index bdb68341099..57b3178d453 100644 --- a/src/intel/vulkan/Makefile.am +++ b/src/intel/vulkan/Makefile.am @@ -117,10 +117,12 @@ VULKAN_LIB_DEPS += \ $(top_builddir)/src/mesa/drivers/dri/i965/libi965_compiler.la \ $(top_builddir)/src/mesa/libmesa.la \ $(top_builddir)/src/mesa/drivers/dri/common/libdri_test_stubs.la \ - -lpthread -ldl -lstdc++ \ $(PER_GEN_LIBS) \ + $(PTHREAD_LIBS) \ + $(DLOPEN_LIBS) \ -lm +nodist_EXTRA_libvulkan_intel_la_SOURCES = dummy.cpp libvulkan_intel_la_SOURCES = $(VULKAN_GEM_FILES) anv_entrypoints.h : anv_entrypoints_gen.py $(vulkan_include_HEADERS)