This change fixes 'lldb -P' (retrieve lldb-module python path) to work correctly on cmake-based builds on POSIX systems.
Previously, this would assume the python module installation path was in the lldb lib directory. This is not accurate for RHEL, which uses an architecture-specific directory name (i.e. lib64 for x86_64 versions).
Now, with this change, the python identified during build is called with a script at configure time and builds with a #define for the relative directory path used for this system's particular python style. On RHEL, this turns into lib64/python{maj}.{min}/..., while it will be lib/python{maj}.{min}/... on other systems. This removes the lldb code from guessing it in this case.
The old behavior is preserved in the event that the configure-time python script fails to determine the relative python module lib dir.
This fixes:
https://llvm.org/bugs/show_bug.cgi?id=25134