Skip to content

Commit

Permalink
FIXUP: fix python PIL after xbmc#5218
Browse files Browse the repository at this point in the history
  • Loading branch information
koying committed Feb 19, 2015
1 parent a4d9823 commit 98721bc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/depends/target/pythonmodule-pil/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 98721bc

Please sign in to comment.