[Lldb-commits] [PATCH] Assorted build fixes

Stephen Wilson wilsons at start.ca
Thu May 19 21:26:39 PDT 2011



Argg, just missed the commit :)

On Thu, May 19, 2011 at 06:05:40PM -0600, Charles Davis wrote:
> --- source/Interpreter/Makefile	(revision 131702)
> +++ source/Interpreter/Makefile	(working copy)
> @@ -18,7 +18,13 @@
>  LLDB_PYTHON_SWIG_CPP = $(PROJ_OBJ_ROOT)/$(BuildMode)/LLDBWrapPython.cpp
>  LLDB_BIN_DIR := $(PROJ_OBJ_ROOT)/$(BuildMode)/bin
>  PYTHON_DIR := $(LLDB_BIN_DIR)
> +ifeq ($(HOST_OS),Darwin)
> +PYTHON_DEST_DIR := /Library/Python/$(shell python -c 'import sys; print sys.version[:3]')/site-packages
> +else
> +PYTHON_DEST_DIR := $(shell python -c 'import sys; print sys.exec_prefix')/lib/python$(shell python -c 'import sys; pritn sys.version[:3]')/site-packages
                                                                                                                      ^^^^^
I think that "pritn" should be a "print".



-- 
steve




More information about the lldb-commits mailing list