[Mesa-dev] [PATCH 24/25] anv: tweak libvulkan_intel.so link libraries

Emil Velikov emil.l.velikov at gmail.com
Fri Apr 22 00:04:35 UTC 2016


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.

-Emil


More information about the mesa-dev mailing list