python_imaging: use libjpeg and libpng.

This commit is contained in:
Adrien Destugues
2015-11-29 10:32:49 +01:00
parent 10c81e88c6
commit 3de62a6054
2 changed files with 42 additions and 1 deletions

View File

@@ -0,0 +1,35 @@
From c51fc3e85f60cf905b8620c751fd97fcc4e185c4 Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
Date: Sun, 29 Nov 2015 10:17:56 +0100
Subject: Fix libraries search paths.
diff --git a/setup.py b/setup.py
index 5d4d53a..844e386 100644
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@ except OSError:
def libinclude(root):
# map root to (root/lib, root/include)
- return os.path.join(root, "lib"), os.path.join(root, "include")
+ return os.path.join(root, "develop/lib"), os.path.join(root, "develop/headers")
# --------------------------------------------------------------------
# Library pointers.
@@ -34,9 +34,9 @@ def libinclude(root):
# TIFF_ROOT = libinclude("/opt/tiff")
TCL_ROOT = None
-JPEG_ROOT = None
-ZLIB_ROOT = None
-TIFF_ROOT = None
+JPEG_ROOT = libinclude("/system")
+ZLIB_ROOT = libinclude("/system")
+TIFF_ROOT = libinclude("/system")
FREETYPE_ROOT = None
LCMS_ROOT = None
--
2.2.2