Skip to content

Commit c854428

Browse files
committed
Update build.ps1
1 parent bb65abb commit c854428

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

scripts/build.ps1

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ New-Item -ItemType Directory -Path "./python-build" -Force
3030

3131
Write-Host "Generating delay libraries for Python 3.11.8..."
3232

33-
cmd /c "..\scripts\dlltool.exe --version"
34-
cmd /c "..\scripts\dlltool.exe --input-def ..\exports.def --output-delaylib ./python-build/python311.lib --dllname ./PCbuild/win32/python311.dll"
35-
cmd /c "..\scripts\dlltool.exe --input-def ..\exports.def --output-delaylib ./python-build/python311_d.lib --dllname ./PCbuild/win32/python311_d.dll"
33+
Get-Command dlltool
34+
35+
dlltool --version
36+
dlltool --input-def ../exports.def --output-delaylib "./python-build/python311.lib" --dllname "./PCbuild/win32/python311.dll"
37+
dlltool --input-def ../exports.def --output-delaylib "./python-build/python311_d.lib" --dllname "./PCbuild/win32/python311_d.dll"
3638

3739
Write-Host "Done!"
3840

0 commit comments

Comments
 (0)