summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-04-21 01:27:17 +0100
committerEmil Velikov <[email protected]>2016-05-01 08:38:05 +0100
commitbc7802098e9b5a0d5a3eccc1dfc62a21aa0b77e8 (patch)
treeeb51897fea755ebdeb9dedc1fb19631fdc553697
parent9f235adf99305293f31b5cd87f0d2bd675f88128 (diff)
anv: tweak libvulkan_intel.so link libraries
i.e do not use -lfoo directly. Signed-off-by: Emil Velikov <[email protected]>
-rw-r--r--src/intel/vulkan/Makefile.am4
1 files changed, 3 insertions, 1 deletions
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)