Skip to content

Commit 731e8f3

Browse files
committed
Update build.ps1
1 parent c854428 commit 731e8f3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

scripts/build.ps1

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
C:\mingw64\bin\dlltool.exe --version
2+
13
# download python 3.11.8 source code
24
curl -o Python-3.11.8.tgz https://www.python.org/ftp/python/3.11.8/Python-3.11.8.tgz
35
# extract the tarball
@@ -32,9 +34,8 @@ Write-Host "Generating delay libraries for Python 3.11.8..."
3234

3335
Get-Command dlltool
3436

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"
37+
C:\mingw64\bin\dlltool.exe --input-def ../exports.def --output-delaylib "./python-build/python311.lib" --dllname "./PCbuild/win32/python311.dll"
38+
C:\mingw64\bin\dlltool.exe --input-def ../exports.def --output-delaylib "./python-build/python311_d.lib" --dllname "./PCbuild/win32/python311_d.dll"
3839

3940
Write-Host "Done!"
4041

0 commit comments

Comments
 (0)