mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
36 lines
953 B
Plaintext
36 lines
953 B
Plaintext
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
|
|
|