diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/python3/0016-fix-win-cross.patch | |
Diffstat (limited to 'vcpkg/ports/python3/0016-fix-win-cross.patch')
| -rw-r--r-- | vcpkg/ports/python3/0016-fix-win-cross.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/vcpkg/ports/python3/0016-fix-win-cross.patch b/vcpkg/ports/python3/0016-fix-win-cross.patch new file mode 100644 index 0000000..fdbdf82 --- /dev/null +++ b/vcpkg/ports/python3/0016-fix-win-cross.patch @@ -0,0 +1,34 @@ +diff --git a/PCbuild/_freeze_module.vcxproj b/PCbuild/_freeze_module.vcxproj +index 7d3423251f..7f607742fe 100644 +--- a/PCbuild/_freeze_module.vcxproj ++++ b/PCbuild/_freeze_module.vcxproj +@@ -366,7 +366,7 @@ + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> + <Target Name="_RebuildGetPath" AfterTargets="_RebuildFrozen" Condition="$(Configuration) != 'PGUpdate'"> +- <Exec Command='"$(TargetPath)" "%(GetPath.ModName)" "%(GetPath.FullPath)" "%(GetPath.IntFile)"' /> ++ <Exec Command='"_freeze_module.exe" "%(GetPath.ModName)" "%(GetPath.FullPath)" "%(GetPath.IntFile)"' /> + + <Copy SourceFiles="%(GetPath.IntFile)" + DestinationFiles="%(GetPath.OutFile)" +@@ -378,7 +378,7 @@ + Condition="'@(_UpdatedGetPath)' != ''" Importance="high" />
+ </Target>
+ <Target Name="_RebuildFrozen" AfterTargets="AfterBuild" Condition="$(Configuration) != 'PGUpdate'">
+- <Exec Command='"$(TargetPath)" "%(None.ModName)" "%(None.FullPath)" "%(None.IntFile)"' />
++ <Exec Command='"_freeze_module.exe" "%(None.ModName)" "%(None.FullPath)" "%(None.IntFile)"' />
+
+ <Copy SourceFiles="%(None.IntFile)"
+ DestinationFiles="%(None.OutFile)"
+diff --git a/PCbuild/pcbuild.proj b/PCbuild/pcbuild.proj +index c49a8533ad..b1cdf7c8d7 100644 +--- a/PCbuild/pcbuild.proj ++++ b/PCbuild/pcbuild.proj +@@ -14,6 +14,6 @@ + <ItemDefinitionGroup>
+ <FreezeProjects>
+- <Platform>$(PreferredToolArchitecture)</Platform>
++ <Platform>$(Platform)</Platform>
+ <Configuration>$(Configuration)</Configuration>
+ <Configuration Condition="$(Configuration) == 'PGInstrument'">Release</Configuration>
+ <Properties></Properties>
|