[PATCH vkd3d 2/3] configure: Use VULKAN_LIBS when looking for the Vulkan library.

Matteo Bruni matteo.mystral at gmail.com
Sun Mar 21 15:44:24 CDT 2021


On Wed, Mar 17, 2021 at 9:31 PM Henri Verbeet <hverbeet at gmail.com> wrote:
>
> On Wed, 17 Mar 2021 at 13:38, Matteo Bruni <mbruni at codeweavers.com> wrote:
> > -AC_SUBST([VULKAN_LIBS])
> > +AC_ARG_VAR([VULKAN_LIBS], [linker flags for the Vulkan library])
> >  VKD3D_CHECK_SONAME([vulkan], [vkGetInstanceProcAddr],
> >                     [VULKAN_LIBS="-lvulkan"],
> >                     [VKD3D_CHECK_SONAME([vulkan-1], [vkGetInstanceProcAddr],
>
> I didn't notice this when I looked earlier, but shouldn't this then
> also set VULKAN_LIBS="$VULKAN_LIBS -lvulkan" instead of
> VULKAN_LIBS="-lvulkan"?

Yes, it should (and similarly for the others). I probably missed it
because VULKAN_LIBS is only directly used for tests and demos, which I
didn't check. Resending fixed...



More information about the wine-devel mailing list