mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 01:59:00 +08:00
c6928dfb9e
* [python3] Update to 3.11.3 * Force set PythonForBuild on windows * Set LD_LIBRARY_PATH on unix * Always use vcpkg_find_acquire_program(PYTHON3) on windows * Remove LD_LIBRARY_PATH shenanigans * [vtk] Parse python version from include folder * Fix static builds on windows * Pass --with-build-python on unix * [omniorb] Fix python version in patch * Resurrect rpath patch * [python3] fix usage * [gobject-introspection] don't hardcode python version * Update vcpkg_find_aquire_program(PYTHON3) This is also required for gobject-introspection * [paraview] don't hardcode python version * [vtk-dicom] don't hardcode python version * Update python in vcpkgTools.xml * Fix host arch detection in vcpkg_find_acquire_program(PYTHON3) * [libpq] Don't hardcode python version * [shiva] Don't pass python variables * [vcpkg-get-python-packages] Delete unused file, update hardcoded python version * [python3] update to 3.11.4 * [omniorb] Use PREPEND in vcpkg_add_to_path So that python from vcpkg is picked before system python * libpq quickfix * re-fix libpq * fix vcpkg-get-python-packages * Make windows 7 patch compatible with unix builds * Copy pyd files to bin Also fixes copying files that do not belong to current build tree * Fix static builds * Speculatively fix osx regression * Fix omniorb on unix * [gobject-introspection] fix windows builds * [vtk] Update vendored copy of mpi4py for python 3.11 support * [mdl-sdk] Fix python * [gobject-introspection] fix the fix of a fix... * Update versions * Undo changes in gobject-introspection and vcpkg_find_aquire_program(PYTHON3) --------- Co-authored-by: root <root@DESKTOP-UIPL9V8>
118 lines
4.8 KiB
Diff
118 lines
4.8 KiB
Diff
From 6c5c3793cbc6ba2a1d0d623a2bdaa9c2125be516 Mon Sep 17 00:00:00 2001
|
|
From: Adam Johnson <AdamJohnso@gmail.com>
|
|
Date: Wed, 9 Sep 2020 15:24:38 -0400
|
|
Subject: [PATCH 3/6] devendor external dependencies
|
|
|
|
externally fetched libraries may cause linker errors resulting from
|
|
duplicate symbols in downstream projects.
|
|
---
|
|
PCbuild/_bz2.vcxproj | 4 +++-
|
|
PCbuild/_lzma.vcxproj | 5 ++---
|
|
PCbuild/_sqlite3.vcxproj | 2 +-
|
|
PCbuild/_ssl.vcxproj | 2 +-
|
|
PCbuild/pyexpat.vcxproj | 6 ++++--
|
|
5 files changed, 11 insertions(+), 8 deletions(-)
|
|
|
|
diff --git a/PCbuild/_bz2.vcxproj b/PCbuild/_bz2.vcxproj
|
|
index 3fe95fbf83..6b12e8818e 100644
|
|
--- a/PCbuild/_bz2.vcxproj
|
|
+++ b/PCbuild/_bz2.vcxproj
|
|
@@ -101,6 +101,8 @@
|
|
</ItemDefinitionGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="..\Modules\_bz2module.c" />
|
|
+ </ItemGroup>
|
|
+ <ItemGroup Condition="false">
|
|
<ClCompile Include="$(bz2Dir)\blocksort.c" />
|
|
<ClCompile Include="$(bz2Dir)\bzlib.c" />
|
|
<ClCompile Include="$(bz2Dir)\compress.c" />
|
|
@@ -109,7 +111,7 @@
|
|
<ClCompile Include="$(bz2Dir)\huffman.c" />
|
|
<ClCompile Include="$(bz2Dir)\randtable.c" />
|
|
</ItemGroup>
|
|
- <ItemGroup>
|
|
+ <ItemGroup Condition="false">
|
|
<ClInclude Include="$(bz2Dir)\bzlib.h" />
|
|
<ClInclude Include="$(bz2Dir)\bzlib_private.h" />
|
|
</ItemGroup>
|
|
diff --git a/PCbuild/_lzma.vcxproj b/PCbuild/_lzma.vcxproj
|
|
index fe076a6fc5..70cc61dd95 100644
|
|
--- a/PCbuild/_lzma.vcxproj
|
|
+++ b/PCbuild/_lzma.vcxproj
|
|
@@ -94,10 +94,9 @@
|
|
<ItemDefinitionGroup>
|
|
<ClCompile>
|
|
<AdditionalIncludeDirectories>$(lzmaDir)src/liblzma/api;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
- <PreprocessorDefinitions>WIN32;_FILE_OFFSET_BITS=64;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;LZMA_API_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
+ <PreprocessorDefinitions>WIN32;_FILE_OFFSET_BITS=64;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
</ClCompile>
|
|
<Link>
|
|
- <AdditionalDependencies>$(OutDir)liblzma$(PyDebugExt).lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemGroup>
|
|
@@ -111,7 +110,7 @@
|
|
<Project>{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}</Project>
|
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
</ProjectReference>
|
|
- <ProjectReference Include="liblzma.vcxproj">
|
|
+ <ProjectReference Condition="false" Include="liblzma.vcxproj">
|
|
<Project>{12728250-16eC-4dc6-94d7-e21dd88947f8}</Project>
|
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
</ProjectReference>
|
|
diff --git a/PCbuild/_sqlite3.vcxproj b/PCbuild/_sqlite3.vcxproj
|
|
index 7e0062692b..6fb3279a20 100644
|
|
--- a/PCbuild/_sqlite3.vcxproj
|
|
+++ b/PCbuild/_sqlite3.vcxproj
|
|
@@ -127,7 +127,7 @@
|
|
<Project>{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}</Project>
|
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
</ProjectReference>
|
|
- <ProjectReference Include="sqlite3.vcxproj">
|
|
+ <ProjectReference Condition="false" Include="sqlite3.vcxproj">
|
|
<Project>{a1a295e5-463c-437f-81ca-1f32367685da}</Project>
|
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
</ProjectReference>
|
|
diff --git a/PCbuild/_ssl.vcxproj b/PCbuild/_ssl.vcxproj
|
|
index 4907f49b66..4dffa202b7 100644
|
|
--- a/PCbuild/_ssl.vcxproj
|
|
+++ b/PCbuild/_ssl.vcxproj
|
|
@@ -99,7 +99,7 @@
|
|
</ItemDefinitionGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="..\Modules\_ssl.c" />
|
|
- <ClCompile Include="$(opensslIncludeDir)\applink.c">
|
|
+ <ClCompile Condition="false" Include="$(opensslIncludeDir)\applink.c">
|
|
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;$(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
</ClCompile>
|
|
</ItemGroup>
|
|
diff --git a/PCbuild/pyexpat.vcxproj b/PCbuild/pyexpat.vcxproj
|
|
index b2d9f5d57d..4efb826a05 100644
|
|
--- a/PCbuild/pyexpat.vcxproj
|
|
+++ b/PCbuild/pyexpat.vcxproj
|
|
@@ -89,17 +89,19 @@
|
|
</ImportGroup>
|
|
<PropertyGroup Label="UserMacros" />
|
|
<ItemDefinitionGroup>
|
|
- <ClCompile>
|
|
+ <ClCompile Condition="false">
|
|
<AdditionalIncludeDirectories>$(PySourcePath)Modules\expat;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;PYEXPAT_EXPORTS;XML_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
</ClCompile>
|
|
</ItemDefinitionGroup>
|
|
- <ItemGroup>
|
|
+ <ItemGroup Condition="false">
|
|
<ClInclude Include="..\Modules\expat\xmlrole.h" />
|
|
<ClInclude Include="..\Modules\expat\xmltok.h" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="..\Modules\pyexpat.c" />
|
|
+ </ItemGroup>
|
|
+ <ItemGroup Condition="false">
|
|
<ClCompile Include="..\Modules\expat\xmlparse.c" />
|
|
<ClCompile Include="..\Modules\expat\xmlrole.c" />
|
|
<ClCompile Include="..\Modules\expat\xmltok.c" />
|
|
--
|
|
2.28.0.windows.1
|
|
|