anv: tweak libvulkan_intel.so link libraries
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 21 Apr 2016 00:27:17 +0000 (01:27 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 1 May 2016 07:38:05 +0000 (08:38 +0100)
i.e do not use -lfoo directly.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/intel/vulkan/Makefile.am

index bdb68341099e6b2b117e6aa96800210ad1c61114..57b3178d453aa949224b8addc1bde71f12ffacbe 100644 (file)
@@ -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)