vulkan-loader: Fix pkg-config file

This commit is contained in:
Alexey Pavlov
2025-06-10 11:51:27 +03:00
parent bae49fea96
commit 2d14b7d798
2 changed files with 11 additions and 2 deletions

View File

@@ -10,3 +10,12 @@
if(MINGW)
# generate the same DLL with mingw
set_target_properties(vulkan
@@ -542,7 +543,7 @@
if (PKG_CONFIG_FOUND)
if(WIN32)
if(MINGW)
- set(VULKAN_LIB_SUFFIX "-1.dll")
+ set(VULKAN_LIB_SUFFIX "")
else()
set(VULKAN_LIB_SUFFIX "-1")
endif()

View File

@@ -6,7 +6,7 @@ pkgbase=mingw-w64-vulkan-loader
pkgname=("${MINGW_PACKAGE_PREFIX}-vulkan-loader")
provides=("${MINGW_PACKAGE_PREFIX}-vulkan")
pkgver=1.4.317
pkgrel=1
pkgrel=2
pkgdesc='Vulkan Installable Client Driver (ICD) Loader (mingw-w64)'
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
@@ -25,7 +25,7 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
source=("${_realname}-${pkgver}.tar.gz::https://github.com/KhronosGroup/${_realname}/archive/v${pkgver}.tar.gz"
001-fix-import-library-name.patch)
sha256sums=('e4e18585fe902ee04e86c1cdb2996b686bffef2cab02cb6079221fe69df05af8'
'9defb698729556699b3c67e84f81eddf031ead2c9843bb3cd9f5d7cab0618106')
'9a730a38895da58aebcc5c756da958a10c6e3ac26002ed8194ba186db2fb2787')
# Helper macros to help make tasks easier #
apply_patch_with_msg() {