Skip to content

Commit 2232110

Browse files
committed
Python 3.14 is affected as well
1 parent 2804dc3 commit 2232110

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/cmake/modules/LLDBConfig.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ if (LLDB_ENABLE_PYTHON)
182182

183183
# Enable targeting the Python Limited C API.
184184
set(PYTHON_LIMITED_API_MIN_SWIG_VERSION "4.2")
185-
set(AFFECTED_BY_SWIG_BUG SWIG_VERSION VERSION_EQUAL "4.4.0" AND Python3_VERSION VERSION_EQUAL "3.13")
185+
set(AFFECTED_BY_SWIG_BUG SWIG_VERSION VERSION_EQUAL "4.4.0" AND Python3_VERSION VERSION_GREATER_EQUAL "3.13")
186186
if (SWIG_VERSION VERSION_GREATER_EQUAL PYTHON_LIMITED_API_MIN_SWIG_VERSION
187187
AND NOT LLDB_EMBED_PYTHON_HOME AND NOT AFFECTED_BY_SWIG_BUG)
188188
set(default_enable_python_limited_api ON)

0 commit comments

Comments
 (0)