mirror of
https://github.com/python/cpython
synced 2024-09-19 23:41:48 +00:00
Fixes warnings when building python3.dll due to the .def file accumulating multiple copies of each line.
Adds shebang line to prepare_ssl so it will run with py.exe.
This commit is contained in:
commit
0a34c49603
|
@ -1,3 +1,4 @@
|
||||||
|
#! /usr/bin/env python3
|
||||||
# Script for preparing OpenSSL for building on Windows.
|
# Script for preparing OpenSSL for building on Windows.
|
||||||
# Uses Perl to create nmake makefiles and otherwise prepare the way
|
# Uses Perl to create nmake makefiles and otherwise prepare the way
|
||||||
# for building on 32 or 64 bit platforms.
|
# for building on 32 or 64 bit platforms.
|
||||||
|
|
|
@ -109,7 +109,7 @@
|
||||||
</_Lines>
|
</_Lines>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<MakeDir Directories="$(IntDir)" />
|
<MakeDir Directories="$(IntDir)" />
|
||||||
<WriteLinesToFile File="$(IntDir)python3_d.def" Lines="@(_Lines->'%(New)')" />
|
<WriteLinesToFile File="$(IntDir)python3_d.def" Lines="@(_Lines->'%(New)')" Overwrite="true" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="BuildStubDef" BeforeTargets="PreLinkEvent" Inputs="..\PC\python3.def" Outputs="$(IntDir)python3stub.def">
|
<Target Name="BuildStubDef" BeforeTargets="PreLinkEvent" Inputs="..\PC\python3.def" Outputs="$(IntDir)python3stub.def">
|
||||||
|
@ -132,7 +132,7 @@
|
||||||
<_Lines Include="@(_Symbols->'%(Symbol)')" />
|
<_Lines Include="@(_Symbols->'%(Symbol)')" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<MakeDir Directories="$(IntDir)" />
|
<MakeDir Directories="$(IntDir)" />
|
||||||
<WriteLinesToFile File="$(IntDir)python3stub.def" Lines="@(_Lines)" />
|
<WriteLinesToFile File="$(IntDir)python3stub.def" Lines="@(_Lines)" Overwrite="true" />
|
||||||
</Target>
|
</Target>
|
||||||
<Target Name="_CleanStubDef" BeforeTargets="CoreClean">
|
<Target Name="_CleanStubDef" BeforeTargets="CoreClean">
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
Loading…
Reference in a new issue