summaryrefslogtreecommitdiffstats
path: root/lldb/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/Makefile')
-rw-r--r--lldb/test/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/Makefile b/lldb/test/Makefile
index c499b52295e..be45b36cd77 100644
--- a/lldb/test/Makefile
+++ b/lldb/test/Makefile
@@ -31,8 +31,8 @@ clean::
check-local::
rm -rf ../test-rdir
env PATH="$(ToolDir):$(PATH)" \
- PYTHONPATH=$(LibDir)/python \
+ PYTHONPATH="$(shell python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True, False, \"$(LibDir)/..\")" )" \
LLDB_EXEC=$(ToolDir)/lldb \
- LLDB_BUILD_TYPE=Makefile \
+ LLDB_BUILD_TYPE=Makefile \
$(SHLIBPATH_VAR)=$(LibDir):$($(SHLIBPATH_VAR)) \
python $(PROJ_SRC_DIR)/dotest.py -i -v -r ../test-rdir
OpenPOWER on IntegriCloud