Makefile.in: Specify the name of libvulkan shared object for vkd3d.
Vkd3d doesn't seem to like to be be built as a PE. When it tries to look for the vulkan library it does so by trying a very naive program that defines `char vkGetInstanceProcAddr()`. This misses both being marked as stdcall and the correct number of parameters to link against Vulkan-Loader in PE32 mode. This used to work with binutils pre 2.41 because it wasn't including the @NUM part in the export libs but since that was fixed we have to be explicit to skip the check.
This commit is contained in:
parent
25eb24e4e9
commit
e11744fcb7
1 changed files with 1 additions and 0 deletions
|
@ -519,6 +519,7 @@ VKD3D_CONFIGURE_ARGS = \
|
||||||
--disable-tests \
|
--disable-tests \
|
||||||
--disable-demos \
|
--disable-demos \
|
||||||
--without-ncurses \
|
--without-ncurses \
|
||||||
|
SONAME_LIBVULKAN=vulkan-1 \
|
||||||
|
|
||||||
VKD3D_LDFLAGS = -static-libgcc $(CROSSLDFLAGS)
|
VKD3D_LDFLAGS = -static-libgcc $(CROSSLDFLAGS)
|
||||||
VKD3D_DEPENDS = vulkan-loader vulkan-headers spirv-headers
|
VKD3D_DEPENDS = vulkan-loader vulkan-headers spirv-headers
|
||||||
|
|
Loading…
Reference in a new issue