See e.g. http://bugs.debian.org/945445
lldb -P is supposed to print the path to the python lldb module. This does not work
in Debian, the path was not overridden correctly in the packaging:
$ lldb-9 -P
/usr/lib/lib/python3/dist-packages
$ dpkg -L python3-lldb-9
[..]
/usr/lib/llvm-9/lib/python3/dist-packages
[..]
The fix is to override "lldb-9 -P" so it doesn't output "/lib" twice
This will make it easier to package rust-lldb as well.
is that because that's where cmake installs them? by default? On debian? What if the user specifies a different CMAKE_INSTALL_PREFIX?