Zebediah Figura : configure: Allow specifying the Vulkan library path with VULKAN_LIBS.
Alexandre Julliard
julliard at winehq.org
Wed Apr 27 16:12:02 CDT 2022
Module: vkd3d
Branch: master
Commit: f34db84c62123f4c484a81cc0ab70aba8c55ef93
URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=f34db84c62123f4c484a81cc0ab70aba8c55ef93
Author: Zebediah Figura <zfigura at codeweavers.com>
Date: Wed Apr 27 11:26:06 2022 -0500
configure: Allow specifying the Vulkan library path with VULKAN_LIBS.
Do not define it for the vkd3d build, but restore support for overriding it as a
configure argument.
This partially reverts 99a3adcc19f2a64fad630948851616f52c00d553.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52915
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
configure.ac | 1 +
m4/check-vulkan.m4 | 7 ++++---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index b386104a..7796ae8d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -113,6 +113,7 @@ case $host_os in
esac
AC_ARG_VAR([SONAME_LIBVULKAN], [shared object name for the Vulkan library])
+AC_ARG_VAR([VULKAN_LIBS], [linker flags for the Vulkan library])
AS_IF([test "x$SONAME_LIBVULKAN" = "x"],
[VKD3D_CHECK_VULKAN],
[AC_DEFINE_UNQUOTED([SONAME_LIBVULKAN],["$SONAME_LIBVULKAN"],[Define to the shared object name of the Vulkan library.])])
diff --git a/m4/check-vulkan.m4 b/m4/check-vulkan.m4
index b2c3f8a1..f651a077 100644
--- a/m4/check-vulkan.m4
+++ b/m4/check-vulkan.m4
@@ -6,7 +6,8 @@ VKD3D_CHECK_SONAME([vulkan], [vkGetInstanceProcAddr],,
[VKD3D_CHECK_SONAME([MoltenVK], [vkGetInstanceProcAddr],
[AC_DEFINE_UNQUOTED([SONAME_LIBVULKAN],
["$ac_cv_lib_soname_MoltenVK"])],
- [AC_MSG_ERROR([libvulkan and libMoltenVK not found.])])
- ])
- ])
+ [AC_MSG_ERROR([libvulkan and libMoltenVK not found.])],
+ [$VULKAN_LIBS])],
+ [$VULKAN_LIBS])],
+ [$VULKAN_LIBS])
])
More information about the wine-cvs
mailing list