jcheca / rpms / llvm

Forked from rpms/llvm 2 years ago
Clone
062a4c5
--- a/tools/lldb/scripts/Python/finish-swig-Python-LLDB.sh
062a4c5
+++ b/tools/lldb/scripts/Python/finish-swig-Python-LLDB.sh
062a4c5
@@ -118,6 +118,8 @@
062a4c5
     echo "Python files will be put in ${framework_python_dir}"
062a4c5
 fi
062a4c5
 
062a4c5
+framework_python_dir=$DESTDIR/$framework_python_dir
062a4c5
+
062a4c5
 python_dirs="${framework_python_dir}"
062a4c5
 
062a4c5
 for python_dir in $python_dirs
062a4c5
@@ -157,7 +159,7 @@
062a4c5
     then
062a4c5
         ln -s "../../../LLDB" _lldb.so
062a4c5
     else
062a4c5
-        ln -s "../../../liblldb${SOEXT}" _lldb.so
062a4c5
+        ln -s "../../../llvm/liblldb${SOEXT}" _lldb.so
062a4c5
     fi
062a4c5
 else
062a4c5
     if [ $Debug -eq 1 ]