<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 21, 2016 at 5:04 PM, Emil Velikov <span dir="ltr"><<a href="mailto:emil.l.velikov@gmail.com" target="_blank">emil.l.velikov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 21 April 2016 at 23:05, Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>> wrote:<br>
> On Thu, Apr 21, 2016 at 6:16 AM, Emil Velikov <<a href="mailto:emil.l.velikov@gmail.com">emil.l.velikov@gmail.com</a>><br>
> wrote:<br>
>><br>
>> From: Emil Velikov <<a href="mailto:emil.velikov@collabora.com">emil.velikov@collabora.com</a>><br>
>><br>
>> I.e do not use -lfoo directly.<br>
>><br>
>> Signed-off-by: Emil Velikov <<a href="mailto:emil.velikov@collabora.com">emil.velikov@collabora.com</a>><br>
>> ---<br>
>> src/intel/vulkan/Makefile.am | 4 +++-<br>
>> 1 file changed, 3 insertions(+), 1 deletion(-)<br>
>><br>
>> diff --git a/src/intel/vulkan/Makefile.am b/src/intel/vulkan/Makefile.am<br>
>> index 21a3abd..2713429 100644<br>
>> --- a/src/intel/vulkan/Makefile.am<br>
>> +++ b/src/intel/vulkan/Makefile.am<br>
>> @@ -117,10 +117,12 @@ VULKAN_LIB_DEPS += \<br>
>> $(top_builddir)/src/mesa/drivers/dri/i965/<a href="http://libi965_compiler.la" rel="noreferrer" target="_blank">libi965_compiler.la</a> \<br>
>> $(top_builddir)/src/mesa/<a href="http://libmesa.la" rel="noreferrer" target="_blank">libmesa.la</a> \<br>
>> $(top_builddir)/src/mesa/drivers/dri/common/<a href="http://libdri_test_stubs.la" rel="noreferrer" target="_blank">libdri_test_stubs.la</a> \<br>
>> - -lpthread -ldl -lstdc++ \<br>
>> $(PER_GEN_LIBS) \<br>
>> + $(PTHREAD_LIBS) \<br>
>> + $(DLOPEN_LIBS) \<br>
>> -lm<br>
>><br>
>> +nodist_EXTRA_libvulkan_intel_la_SOURCES = dummy.cpp<br>
><br>
><br>
> I don't get how this works. Where does dummy.cpp come from?<br>
><br>
</span>IIRC no one does. It just forces autoconf to switch to C++ linking mode.<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br></div><div>Ok. As long as it works. seems better than adding our own C++ flags. <br></div></div><br></div></div>