mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
Fix build path for win-x86 platform
This commit is contained in:
parent
1265bd4c3f
commit
9369f42671
14
ports/python2/007-fix-build-path.patch
Normal file
14
ports/python2/007-fix-build-path.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff --git a/PCbuild/python.props b/PCbuild/python.props
|
||||
index d2b1991..a22c054 100644
|
||||
--- a/PCbuild/python.props
|
||||
+++ b/PCbuild/python.props
|
||||
@@ -26,8 +26,7 @@
|
||||
<PySourcePath Condition="!HasTrailingSlash($(PySourcePath))">$(PySourcePath)\</PySourcePath>
|
||||
|
||||
<!-- Directory where build outputs are put -->
|
||||
- <BuildPath Condition="'$(BuildPath)' == ''">$(PySourcePath)PCBuild\</BuildPath>
|
||||
- <BuildPath Condition="'$(ArchName)' != 'win32'">$(BuildPath)\$(ArchName)\</BuildPath>
|
||||
+ <BuildPath Condition="'$(BuildPath)' == ''">$(PySourcePath)PCBuild\$(ArchName)\</BuildPath>
|
||||
<BuildPath Condition="!HasTrailingSlash($(BuildPath))">$(BuildPath)\</BuildPath>
|
||||
|
||||
<!-- Directories of external projects. tcltk is handled in tcltk.props -->
|
@ -43,6 +43,7 @@ vcpkg_apply_patches(
|
||||
${CMAKE_CURRENT_LIST_DIR}/002-build-msvc.patch
|
||||
${CMAKE_CURRENT_LIST_DIR}/003-build-msvc.patch
|
||||
${_PYTHON_PATCHES}
|
||||
${CMAKE_CURRENT_LIST_DIR}/007-fix-build-path.patch
|
||||
)
|
||||
|
||||
if (VCPKG_TARGET_ARCHITECTURE MATCHES "x86")
|
||||
|
Loading…
x
Reference in New Issue
Block a user