Configuring lldb with LLDB_ENABLE_PYTHON=OFF and LLDB_ENABLE_LUA=ON results in a CMake error:
CMake Error at lldb/bindings/lua/CMakeLists.txt:47 (create_relative_symlink): Unknown CMake command "create_relative_symlink". Call Stack (most recent call first): lldb/CMakeLists.txt:117 (finish_swig_lua)
This is because the CMake function create_relative_symlink only exists in lldb/bindings/python/CMakeLists.txt, and not in lldb/bindings/lua/CMakeLists.txt.
Move the function to lldb/bindings/CMakeLists.txt, so it is available for all language bindings.