Merge pull request #3047 from Hexagon12/sdl2-sound-fix
Workaround for SDL2 2.0.6 audio issues
This commit is contained in:
commit
26065fd872
|
@ -28,11 +28,11 @@ install:
|
||||||
if ($env:BUILD_TYPE -eq 'mingw') {
|
if ($env:BUILD_TYPE -eq 'mingw') {
|
||||||
$dependencies = "mingw64/mingw-w64-x86_64-cmake",
|
$dependencies = "mingw64/mingw-w64-x86_64-cmake",
|
||||||
"mingw64/mingw-w64-x86_64-qt5",
|
"mingw64/mingw-w64-x86_64-qt5",
|
||||||
"mingw64/mingw-w64-x86_64-curl",
|
"mingw64/mingw-w64-x86_64-curl"
|
||||||
"mingw64/mingw-w64-x86_64-SDL2"
|
|
||||||
# redirect err to null to prevent warnings from becoming errors
|
# redirect err to null to prevent warnings from becoming errors
|
||||||
# workaround to prevent pacman from failing due to cyclical dependencies
|
# workaround to prevent pacman from failing due to cyclical dependencies
|
||||||
C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S mingw64/mingw-w64-x86_64-freetype mingw64/mingw-w64-x86_64-fontconfig" 2> $null
|
C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S mingw64/mingw-w64-x86_64-freetype mingw64/mingw-w64-x86_64-fontconfig" 2> $null
|
||||||
|
C:\msys64\usr\bin\bash -lc "pacman --noconfirm -U http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-SDL2-2.0.5-2-any.pkg.tar.xz" 2> $null
|
||||||
C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S $dependencies" 2> $null
|
C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S $dependencies" 2> $null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue