Skip to content

Commit

Permalink
Remove patching of openal-soft's .pc file
Browse files Browse the repository at this point in the history
  • Loading branch information
s0600204 committed Jan 15, 2022
1 parent 7ac3f24 commit d687054
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions libraries/windows/vcpkg/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit d687054

Please sign in to comment.