[Mesa-dev] [PATCH 24/25] anv: tweak libvulkan_intel.so link libraries
Jason Ekstrand
jason at jlekstrand.net
Fri Apr 22 00:39:31 UTC 2016
On Thu, Apr 21, 2016 at 5:04 PM, Emil Velikov <emil.l.velikov at gmail.com>
wrote:
> On 21 April 2016 at 23:05, Jason Ekstrand <jason at jlekstrand.net> wrote:
> > 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?
> >
> IIRC no one does. It just forces autoconf to switch to C++ linking mode.
>
Ok. As long as it works. seems better than adding our own C++ flags.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160421/2a2b4a79/attachment-0001.html>
More information about the mesa-dev
mailing list