diff options
author | davilla <davilla@svn> | 2010-07-11 00:02:00 +0000 |
---|---|---|
committer | davilla <davilla@svn> | 2010-07-11 00:02:00 +0000 |
commit | 25b518c6c6c83994fe25468f5735518fb47325e6 (patch) | |
tree | 43e0302efaf13f7f17888ee74dac036ba03e97ac /lib | |
parent | a7471d4ee7316b76e568f4fbcd8d5031a904329d (diff) |
case monster exists on OSX, python app is called python.exe
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@31714 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'lib')
-rw-r--r-- | lib/addons/script.module.pil/Makefile | 5 | ||||
-rw-r--r-- | lib/addons/script.module.pysqlite/Makefile | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/lib/addons/script.module.pil/Makefile b/lib/addons/script.module.pil/Makefile index 8441bfe5b6..e26d8d3c8e 100644 --- a/lib/addons/script.module.pil/Makefile +++ b/lib/addons/script.module.pil/Makefile @@ -1,4 +1,5 @@ +OSTYPE=$(shell uname) VERSION=1.1.7 BASE_URL=http://www.effbot.org/downloads SOURCE=Imaging-$(VERSION) @@ -10,7 +11,11 @@ ARCHIVE_TOOL=tar ARCHIVE_TOOL_FLAGS=xf PYTHONDIR=$(abs_top_srcdir)/xbmc/lib/libPython/Python +ifeq ($(OSTYPE),Darwin) +PYTHON=$(PYTHONDIR)/python.exe +else PYTHON=$(PYTHONDIR)/python +endif DESTDIR=$(abs_top_srcdir)/addons/script.module.pil/lib/PIL diff --git a/lib/addons/script.module.pysqlite/Makefile b/lib/addons/script.module.pysqlite/Makefile index 06d9c8a8b8..c7e6f4e844 100644 --- a/lib/addons/script.module.pysqlite/Makefile +++ b/lib/addons/script.module.pysqlite/Makefile @@ -1,4 +1,5 @@ +OSTYPE=$(shell uname) VERSION=2.5.6 BASE_URL=http://pysqlite.googlecode.com/files SOURCE=pysqlite-$(VERSION) @@ -10,7 +11,11 @@ ARCHIVE_TOOL=tar ARCHIVE_TOOL_FLAGS=xf PYTHONDIR=$(abs_top_srcdir)/xbmc/lib/libPython/Python +ifeq ($(OSTYPE),Darwin) +PYTHON=$(PYTHONDIR)/python.exe +else PYTHON=$(PYTHONDIR)/python +endif DESTDIR=$(abs_top_srcdir)/addons/script.module.pysqlite/lib/pysqlite2 |