From 9eb49fc6730c9b5a9991912243bc1dc2d90fbda0 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Tue, 25 Apr 2023 13:05:31 +0300 Subject: [PATCH] scripts: gha: win32: finally use destdir instead of prefix on Windows --- scripts/gha/build_win32.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/gha/build_win32.sh b/scripts/gha/build_win32.sh index 732e67d1..cd8c0ac5 100755 --- a/scripts/gha/build_win32.sh +++ b/scripts/gha/build_win32.sh @@ -11,9 +11,9 @@ fi # NOTE: to build with other version use --msvc_version during configuration # NOTE: sometimes you may need to add WinSDK to %PATH% -./waf.bat configure -s "SDL2_VC" -T "release" --enable-utils --enable-tests --prefix=`pwd` $AMD64 || die_configure +./waf.bat configure -s "SDL2_VC" -T "release" --enable-utils --enable-tests $AMD64 || die_configure ./waf.bat build || die -./waf.bat install || die +./waf.bat install --destdir=. || die if [ "$ARCH" = "i386" ]; then cp SDL2_VC/lib/x86/SDL2.dll . # Install SDL2