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-19 14:56:13 +0100 |
commit | 98721bcc03e6eb1066481cd656be680c54df400a (patch) | |
tree | f99ff405f79733653ae884330dd8d104325ed094 /tools | |
parent | a4d9823018dadeeeffb6f10f12663bedb7a0f8b6 (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 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: |