diff options
| author | Kevin Lalumiere <klalumiere@coveo.com> | 2020-12-29 19:09:35 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-29 16:09:35 -0800 |
| commit | 1e736c7eb4712037ba95cd93c48b81962914a50d (patch) | |
| tree | 2d5366aee1fa616bc854bac39c56cba822266bab /ports/boost-python | |
| parent | b0dd196533535eff0aba5bf6a46446635835a2b0 (diff) | |
| download | vcpkg-1e736c7eb4712037ba95cd93c48b81962914a50d.tar.gz vcpkg-1e736c7eb4712037ba95cd93c48b81962914a50d.zip | |
Adds `python-debugging=on` to `B2_OPTIONS_DBG` (#15352)
... when BOOST_DEBUG_PYTHON is inside the VCPKG_CXX_FLAGS_DEBUG,
i.e. fixes 15350
Diffstat (limited to 'ports/boost-python')
| -rw-r--r-- | ports/boost-python/CONTROL | 1 | ||||
| -rw-r--r-- | ports/boost-python/b2-options.cmake | 5 |
2 files changed, 6 insertions, 0 deletions
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()
|
