From 1e736c7eb4712037ba95cd93c48b81962914a50d Mon Sep 17 00:00:00 2001 From: Kevin Lalumiere Date: Tue, 29 Dec 2020 19:09:35 -0500 Subject: Adds `python-debugging=on` to `B2_OPTIONS_DBG` (#15352) ... when BOOST_DEBUG_PYTHON is inside the VCPKG_CXX_FLAGS_DEBUG, i.e. fixes 15350 --- ports/boost-python/CONTROL | 1 + ports/boost-python/b2-options.cmake | 5 +++++ 2 files changed, 6 insertions(+) (limited to 'ports/boost-python') diff --git a/ports/boost-python/CONTROL b/ports/boost-python/CONTROL index 62ce076f4..1aa018b7a 100644 --- a/ports/boost-python/CONTROL +++ b/ports/boost-python/CONTROL @@ -1,6 +1,7 @@ # Automatically generated by scripts/boost/generate-ports.ps1 Source: boost-python Version: 1.75.0 +Port-Version: 1 Build-Depends: boost-bind, boost-compatibility, boost-config, boost-conversion, boost-core, boost-detail, boost-foreach, boost-function, boost-graph, boost-integer, boost-iterator, boost-lexical-cast, boost-math, boost-mpl, boost-numeric-conversion, boost-preprocessor, boost-property-map, boost-smart-ptr, boost-static-assert, boost-tuple, boost-type-traits, boost-utility, boost-vcpkg-helpers, python3 Homepage: https://github.com/boostorg/python Description: Boost python module diff --git a/ports/boost-python/b2-options.cmake b/ports/boost-python/b2-options.cmake index 5cc0a8da0..3713424ed 100644 --- a/ports/boost-python/b2-options.cmake +++ b/ports/boost-python/b2-options.cmake @@ -21,3 +21,8 @@ string(REPLACE ";" "," BUILD_PYTHON_VERSIONS "${BUILD_PYTHON_VERSIONS}") list(APPEND B2_OPTIONS python=${BUILD_PYTHON_VERSIONS} ) +if(VCPKG_CXX_FLAGS_DEBUG MATCHES "BOOST_DEBUG_PYTHON") + list(APPEND B2_OPTIONS_DBG + python-debugging=on + ) +endif() -- cgit v1.2.3