From b12f78c3ed08ca7cddb17110a2bcdcf2cd5f889e Mon Sep 17 00:00:00 2001 From: Billy O'Neal Date: Tue, 29 Dec 2020 16:34:43 -0800 Subject: [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. --- ports/python3/python_vcpkg.props.in | 2 +- ports/python3/vcpkg.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ports/python3') 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 @@ _Py_HAVE_ZLIB;%(PreprocessorDefinitions) XML_STATIC;%(PreprocessorDefinitions) - ${CURRENT_INSTALLED_DIR}/include;%(AdditionalIncludeDirectories) + %(AdditionalIncludeDirectories);${CURRENT_INSTALLED_DIR}/include MultiThreadedDebug 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)", -- cgit v1.2.3