Skip to content

Commit d70b1c1

Browse files
authored
[LLDB][Docs] Replace LLDB_RELOCATABLE_PYTHON with LLDB_EMBED_PYTHON_HOME (llvm#81310)
LLDB_RELOCATABLE_PYTHON was removed in LLVM 11 (llvm@3ec3f62).
1 parent b17348c commit d70b1c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/docs/resources/build.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,12 +278,12 @@ are commonly used on Windows.
278278
crash, rather than having to reproduce a failure or use a crash dump.
279279
* ``PYTHON_HOME`` (Required): Path to the folder where the Python distribution
280280
is installed. For example, ``C:\Python35``.
281-
* ``LLDB_RELOCATABLE_PYTHON`` (Default=0): When this is 0, LLDB will bind
281+
* ``LLDB_EMBED_PYTHON_HOME`` (Default=1 on Windows): When this is 1, LLDB will bind
282282
statically to the location specified in the ``PYTHON_HOME`` CMake variable,
283283
ignoring any value of ``PYTHONHOME`` set in the environment. This is most
284284
useful for developers who simply want to run LLDB after they build it. If you
285285
wish to move a build of LLDB to a different machine where Python will be in a
286-
different location, setting ``LLDB_RELOCATABLE_PYTHON`` to 1 will cause
286+
different location, setting ``LLDB_EMBED_PYTHON_HOME`` to 0 will cause
287287
Python to use its default mechanism for finding the python installation at
288288
runtime (looking for installed Pythons, or using the ``PYTHONHOME``
289289
environment variable if it is specified).

0 commit comments

Comments
 (0)