|
| 1 | +From 556cfcce0f0af3ffe6b60d84146d0caee3f8e223 Mon Sep 17 00:00:00 2001 |
| 2 | +From: Nehal J Wani < [email protected]> |
| 3 | +Date: Mon, 10 Dec 2018 11:45:32 -0600 |
| 4 | +Subject: [PATCH 19/19] Unvendor sqlite3 |
| 5 | + |
| 6 | +--- |
| 7 | + PCbuild/_sqlite3.vcxproj | 7 ++----- |
| 8 | + PCbuild/pcbuild.sln | 2 -- |
| 9 | + PCbuild/python.props | 2 +- |
| 10 | + 3 files changed, 3 insertions(+), 8 deletions(-) |
| 11 | + |
| 12 | +diff --git a/PCbuild/_sqlite3.vcxproj b/PCbuild/_sqlite3.vcxproj |
| 13 | +index 5456bb5..b058599 100644 |
| 14 | +--- a/PCbuild/_sqlite3.vcxproj |
| 15 | ++++ b/PCbuild/_sqlite3.vcxproj |
| 16 | +@@ -61,11 +61,12 @@ |
| 17 | + </PropertyGroup> |
| 18 | + <ItemDefinitionGroup> |
| 19 | + <ClCompile> |
| 20 | +- <AdditionalIncludeDirectories>$(sqlite3Dir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
| 21 | ++ <AdditionalIncludeDirectories>$(sqlite3Dir)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
| 22 | + <PreprocessorDefinitions>MODULE_NAME="sqlite3";%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 23 | + </ClCompile> |
| 24 | + <Link> |
| 25 | + <BaseAddress>0x1e180000</BaseAddress> |
| 26 | ++ <AdditionalDependencies>$(sqlite3Dir)\lib\sqlite3.lib;%(AdditionalDependencies)</AdditionalDependencies> |
| 27 | + </Link> |
| 28 | + </ItemDefinitionGroup> |
| 29 | + <ItemGroup> |
| 30 | +@@ -98,10 +99,6 @@ |
| 31 | + <Project>{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}</Project> |
| 32 | + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> |
| 33 | + </ProjectReference> |
| 34 | +- <ProjectReference Include="sqlite3.vcxproj"> |
| 35 | +- <Project>{a1a295e5-463c-437f-81ca-1f32367685da}</Project> |
| 36 | +- <ReferenceOutputAssembly>false</ReferenceOutputAssembly> |
| 37 | +- </ProjectReference> |
| 38 | + </ItemGroup> |
| 39 | + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
| 40 | + <ImportGroup Label="ExtensionTargets"> |
| 41 | +diff --git a/PCbuild/pcbuild.sln b/PCbuild/pcbuild.sln |
| 42 | +index 94a0089..52e74b5 100644 |
| 43 | +--- a/PCbuild/pcbuild.sln |
| 44 | ++++ b/PCbuild/pcbuild.sln |
| 45 | +@@ -52,8 +52,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bdist_wininst", "..\PC\bdis |
| 46 | + EndProject |
| 47 | + Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_hashlib", "_hashlib.vcxproj", "{447F05A8-F581-4CAC-A466-5AC7936E207E}" |
| 48 | + EndProject |
| 49 | +-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sqlite3", "sqlite3.vcxproj", "{A1A295E5-463C-437F-81CA-1F32367685DA}" |
| 50 | +-EndProject |
| 51 | + Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_multiprocessing", "_multiprocessing.vcxproj", "{9E48B300-37D1-11DD-8C41-005056C00008}" |
| 52 | + EndProject |
| 53 | + Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "python3dll", "python3dll.vcxproj", "{885D4898-D08D-4091-9C40-C700CFE3FC5A}" |
| 54 | +diff --git a/PCbuild/python.props b/PCbuild/python.props |
| 55 | +index 570f7fa..eba9382 100644 |
| 56 | +--- a/PCbuild/python.props |
| 57 | ++++ b/PCbuild/python.props |
| 58 | +@@ -46,7 +46,7 @@ |
| 59 | + <ExternalsDir>$(EXTERNALS_DIR)</ExternalsDir> |
| 60 | + <ExternalsDir Condition="$(ExternalsDir) == ''">$([System.IO.Path]::GetFullPath(`$(PySourcePath)externals`))</ExternalsDir> |
| 61 | + <ExternalsDir Condition="!HasTrailingSlash($(ExternalsDir))">$(ExternalsDir)\</ExternalsDir> |
| 62 | +- <sqlite3Dir>$(ExternalsDir)sqlite-3.21.0.0\</sqlite3Dir> |
| 63 | ++ <sqlite3Dir>$(SQLITE3_DIR)\</sqlite3Dir> |
| 64 | + <bz2Dir>$(ExternalsDir)bzip2-1.0.6\</bz2Dir> |
| 65 | + <lzmaDir>$(ExternalsDir)xz-5.2.2\</lzmaDir> |
| 66 | + <opensslDir>$(ExternalsDir)openssl-1.0.2p\</opensslDir> |
| 67 | +-- |
| 68 | +2.19.1 |
| 69 | + |
0 commit comments