Several changes to fix CMake builds of LLDB with the
BUILD_SHARED_LIBS setting on.
- Force all internal libraries to be built STATIC.
- Add additional library dependencies (pthread, dl, runtimedyld).
- modify finalisation of SWIG wrapper to symlink the "lib" dir into python/site-packages, so _lldb.so's RPATH resolves.
I'm having some trouble visualizing what this is doing. What do a sample strSrc and strTarget look like before and after this change? (i.e. what was broken that this is fixing?)