Create ${swig_target}-scripts target instead of lldb-python-scripts
authorAntónio Afonso <antonio.afonso@gmail.com>
Sat, 22 Aug 2020 18:53:08 +0000 (11:53 -0700)
committerAntónio Afonso <antonio.afonso@gmail.com>
Sun, 23 Aug 2020 02:36:37 +0000 (19:36 -0700)
commit52381938bcc8547316d79a4721281da7f934d9b8
treebccbdebab92a2927901e43a02270681a1c7ace5a
parentf164534ca8e042ab7bbc25516f88adf027ebe12d
Create ${swig_target}-scripts target instead of lldb-python-scripts

This addresses the issue raised here https://reviews.llvm.org/rG02bf5632a94da6c3570df002804f8d3f79c11bfc
The `finish_swig_python` function might be called more than once so we need to create the distribution
component target based on the swig target.

Differential Revision: https://reviews.llvm.org/D86402
lldb/CMakeLists.txt
lldb/bindings/python/CMakeLists.txt