wscript: try to fix install on windows

This commit is contained in:
Alibek Omarov
2021-11-27 05:57:01 +03:00
parent 0c6b51fa0c
commit fc665527ae
2 changed files with 6 additions and 4 deletions

View File

@@ -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 "debug" --enable-utils $AMD64 || die
./waf.bat configure -s "SDL2_VC" -T "debug" --enable-utils --prefix=`pwd` $AMD64 || die
./waf.bat build -v || die
./waf.bat install --prefix=`pwd` || die
./waf.bat install || die
if [ "$ARCH" = "i386" ]; then
cp SDL2_VC/lib/x86/SDL2.dll . # Install SDL2