[Mesa-dev] [PATCH 24/25] anv: tweak libvulkan_intel.so link libraries
Jason Ekstrand
jason at jlekstrand.net
Thu Apr 21 22:05:45 UTC 2016
On Thu, Apr 21, 2016 at 6:16 AM, Emil Velikov <emil.l.velikov at gmail.com>
wrote:
> From: Emil Velikov <emil.velikov at collabora.com>
>
> I.e do not use -lfoo directly.
>
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
> ---
> src/intel/vulkan/Makefile.am | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/src/intel/vulkan/Makefile.am b/src/intel/vulkan/Makefile.am
> index 21a3abd..2713429 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
>
I don't get how this works. Where does dummy.cpp come from?
> libvulkan_intel_la_SOURCES = $(VULKAN_GEM_FILES)
>
> anv_entrypoints.c anv_entrypoints.h : anv_entrypoints_gen.py
> $(vulkan_include_HEADERS)
> --
> 2.8.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160421/6a55537b/attachment.html>
More information about the mesa-dev
mailing list