aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChris "koying" Browet <cbro@semperpax.com>2015-02-19 14:56:13 +0100
committerChris "koying" Browet <cbro@semperpax.com>2015-02-19 14:56:13 +0100
commit98721bcc03e6eb1066481cd656be680c54df400a (patch)
treef99ff405f79733653ae884330dd8d104325ed094 /tools
parenta4d9823018dadeeeffb6f10f12663bedb7a0f8b6 (diff)
FIXUP: fix python PIL after #5218
Diffstat (limited to 'tools')
-rw-r--r--tools/depends/target/pythonmodule-pil/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/depends/target/pythonmodule-pil/Makefile b/tools/depends/target/pythonmodule-pil/Makefile
index 0f1e32f7ed..0c40bb9cbb 100644
--- a/tools/depends/target/pythonmodule-pil/Makefile
+++ b/tools/depends/target/pythonmodule-pil/Makefile
@@ -40,8 +40,14 @@ $(LIBDYLIB): $(PLATFORM)
cd $(PLATFORM); $(CROSSFLAGS) $(NATIVEPREFIX)/bin/python setup.py build -x bdist_egg --plat-name $(OS)-$(CPU)
.installed-$(PLATFORM): $(LIBDYLIB)
+ifeq ($(OS),android)
mkdir -p $(PREFIX)/share/$(APP_NAME)/addons/script.module.pil/lib/PIL/
unzip -oq $(LIBDYLIB) -d $(PREFIX)/share/$(APP_NAME)/addons/script.module.pil/lib/PIL/
+else
+ mkdir -p $(PREFIX)/lib/python2.6/site-packages/PIL
+ unzip -oq $(LIBDYLIB) -d $(PREFIX)/lib/python2.6/site-packages/PIL/
+ echo 'PIL' > $(PREFIX)/lib/python2.6/site-packages/PIL.pth
+endif
touch $@
clean: