aboutsummaryrefslogtreecommitdiff
path: root/ports/python3
diff options
context:
space:
mode:
authorBilly O'Neal <bion@microsoft.com>2020-12-29 16:34:43 -0800
committerGitHub <noreply@github.com>2020-12-29 16:34:43 -0800
commitb12f78c3ed08ca7cddb17110a2bcdcf2cd5f889e (patch)
treefe22d44a7c80df739366b78ee8da5256ba08c2d4 /ports/python3
parent1e736c7eb4712037ba95cd93c48b81962914a50d (diff)
downloadvcpkg-b12f78c3ed08ca7cddb17110a2bcdcf2cd5f889e.tar.gz
vcpkg-b12f78c3ed08ca7cddb17110a2bcdcf2cd5f889e.zip
[antlr4,python3] Resolve cross port conflicts (#15378)
* [python3] Add vcpkg's include directories to the end rather than to the beginning. This is safe because vcpkg never hydrates python3's $(PySrcDir)\externals directory, so it wasn't using vendored dependencies at all. * [antlr4] Install antlr headers in antlr4-runtime rather than the root to avoid stomping on common name token.h. This is consistent with the ubuntu packages.
Diffstat (limited to 'ports/python3')
-rw-r--r--ports/python3/python_vcpkg.props.in2
-rw-r--r--ports/python3/vcpkg.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/python3/python_vcpkg.props.in b/ports/python3/python_vcpkg.props.in
index efad43bbd..c786e5fa0 100644
--- a/ports/python3/python_vcpkg.props.in
+++ b/ports/python3/python_vcpkg.props.in
@@ -6,7 +6,7 @@
<PreprocessorDefinitions>_Py_HAVE_ZLIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions Condition="${VCPKG_LIBRARY_LINKAGE} == 'static'">XML_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>
- ${CURRENT_INSTALLED_DIR}/include;%(AdditionalIncludeDirectories)
+ %(AdditionalIncludeDirectories);${CURRENT_INSTALLED_DIR}/include
</AdditionalIncludeDirectories>
<RuntimeLibrary Condition="'${VCPKG_CRT_LINKAGE}|$(Configuration)' == 'static|Debug'">MultiThreadedDebug</RuntimeLibrary>
diff --git a/ports/python3/vcpkg.json b/ports/python3/vcpkg.json
index 5907ab9b9..b8aa2ac3c 100644
--- a/ports/python3/vcpkg.json
+++ b/ports/python3/vcpkg.json
@@ -1,7 +1,7 @@
{
"name": "python3",
"version-string": "3.9.0",
- "port-version": 1,
+ "port-version": 2,
"description": "The Python programming language",
"homepage": "https://github.com/python/cpython",
"supports": "!(arm | uwp)",