diff options
author | Chris "koying" Browet <cbro@semperpax.com> | 2015-02-19 14:56:13 +0100 |
---|---|---|
committer | Chris "koying" Browet <cbro@semperpax.com> | 2015-02-20 14:23:30 +0100 |
commit | 41ed222fb53228471b8a9c2649fb0de487fbb93a (patch) | |
tree | 8550b37f1e45a54197e894dd15c353af181ebd30 /tools | |
parent | 04acf2faff9d47f23bfa49d61bf674f2371d63c8 (diff) |
FIXUP: fix python PIL after #5218
Diffstat (limited to 'tools')
-rw-r--r-- | tools/depends/target/pythonmodule-pil/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/depends/target/pythonmodule-pil/Makefile b/tools/depends/target/pythonmodule-pil/Makefile index ac7a4d3d12..297f33322b 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: |