Staging
v0.8.1
https://github.com/python/cpython
Raw File
Tip revision: 21ca80eef44bbfb0de4bd4c3032873d36bf7c37f authored by Ethan Furman on 08 December 2020, 21:28:47 UTC
[3.8] [Enum] reformat and add doc strings (GH-23705). (GH-23706)
Tip revision: 21ca80e
mingw-lib.yml
parameters:
  DllToolOpt: -m i386:x86-64
  #DllToolOpt: -m i386 --as-flags=--32

steps:
- powershell: |
    git clone https://github.com/python/cpython-bin-deps --branch binutils --single-branch --depth 1 --progress -v "binutils"
    gci "bin\$(Arch)\python*.dll" | %{
      & "binutils\gendef.exe" $_ | Out-File -Encoding ascii tmp.def
      & "binutils\dlltool.exe" --dllname $($_.BaseName).dll --def tmp.def --output-lib "$($_.Directory)\lib$($_.BaseName).a" ${{ parameters.DllToolOpt }}
    }
  displayName: 'Generate MinGW import library'
  workingDirectory: $(Build.BinariesDirectory)
back to top