From 6b90db7d70aa9d121b0d92094f8fef4b8be96f0d Mon Sep 17 00:00:00 2001 From: s0600204 Date: Mon, 6 Sep 2021 14:12:15 +0100 Subject: [PATCH] Remove patching of openal-soft's .pc file * https://github.com/microsoft/vcpkg/issues/19316 * https://github.com/microsoft/vcpkg/pull/19318 --- libraries/windows/vcpkg/build.ps1 | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/libraries/windows/vcpkg/build.ps1 b/libraries/windows/vcpkg/build.ps1 index 26fd05844f9..696817c585f 100644 --- a/libraries/windows/vcpkg/build.ps1 +++ b/libraries/windows/vcpkg/build.ps1 @@ -82,16 +82,6 @@ Write-Output "-- libcurl" (Get-Content $env:PC_DIR_DEBUG\libcurl.pc).Replace('-lcurl-d', '-llibcurl-d') | Set-Content $env:PC_DIR_DEBUG\libcurl.pc -Write-Output "-- OpenAL" -(Get-Content $env:PC_DIR_RELEASE\openal.pc).Replace( - "/scripts/vcpkg/packages/openal-soft_$env:HostArchitecture-windows", "/vcpkg/$LIB_DIRECTORY/$VCPKG_TRIPLET" - ) | Set-Content $env:PC_DIR_RELEASE\openal.pc -(Get-Content $env:PC_DIR_DEBUG\openal.pc).Replace( - "/scripts/vcpkg/packages/openal-soft_$env:HostArchitecture-windows", "/vcpkg/$LIB_DIRECTORY/$VCPKG_TRIPLET" - ).Replace( - '${prefix}/include', '${prefix}/../include' - ) | Set-Content $env:PC_DIR_DEBUG\openal.pc - Write-Output "-- SDL2" (Get-Content $env:PC_DIR_RELEASE\sdl2.pc | Insert-Line -Needle 'libdir=' -Thread 'libdir2=${exec_prefix}/lib/manual-link'