summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/finish-swig-Python-LLDB.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/scripts/Python/finish-swig-Python-LLDB.sh')
-rwxr-xr-xlldb/scripts/Python/finish-swig-Python-LLDB.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/lldb/scripts/Python/finish-swig-Python-LLDB.sh b/lldb/scripts/Python/finish-swig-Python-LLDB.sh
index 762496adad5..36b547fe265 100755
--- a/lldb/scripts/Python/finish-swig-Python-LLDB.sh
+++ b/lldb/scripts/Python/finish-swig-Python-LLDB.sh
@@ -165,5 +165,20 @@ else
fi
fi
+# Copy the OSX C++ STL formatters over to the framework Python directory
+if [ -f "${SRC_ROOT}/source/osxcpp.py" ]
+then
+ if [ $Debug == 1 ]
+ then
+ echo "Copying osxcpp.py to ${framework_python_dir}"
+ fi
+ cp "${SRC_ROOT}/source/osxcpp.py" "${framework_python_dir}"
+else
+ if [ $Debug == 1 ]
+ then
+ echo "Unable to find ${SRC_ROOT}/source/osxcpp.py"
+ fi
+fi
+
exit 0
OpenPOWER on IntegriCloud