aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/addons/script.module.pil/Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/addons/script.module.pil/Makefile.in b/lib/addons/script.module.pil/Makefile.in
index a1f4d00e2e..0cc40f4dbc 100644
--- a/lib/addons/script.module.pil/Makefile.in
+++ b/lib/addons/script.module.pil/Makefile.in
@@ -43,6 +43,7 @@ $(SOURCE): $(ARCHIVE)
patch -p1 < ../Imaging-1.1.7-setuptools-0.1.patch; \
patch -p1 < ../Imaging-1.1.7-access.patch; \
sed -ie "s|"darwin"|"darwinNot"|g" "setup.py"; \
+ sed -ie "s|ZLIB_ROOT = None|ZLIB_ROOT = libinclude(\"${platform_sdk_path}/usr\")|" "setup.py"; \
fi
$(DESTDIR): $(SOURCE)