summaryrefslogtreecommitdiffstats
path: root/patches/Imaging-1.1.7/0001-setup.py-remove-host-directories-from-search-paths.patch
blob: f322445cda1bacc8cea18153892daf4858d30733 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
From: Michael Olbrich <m.olbrich@pengutronix.de>
Date: Thu, 26 May 2011 17:07:26 +0200
Subject: [PATCH] setup.py: remove host directories from search paths

This patch is probably not acceptable in upstream.

Forwarded: not-needed
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
---
 setup.py | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/setup.py b/setup.py
index 5d4d53a..26d5672 100644
--- a/setup.py
+++ b/setup.py
@@ -147,7 +147,6 @@ class pil_build_ext(build_ext):
             add_directory(library_dirs, "/opt/local/lib")
             add_directory(include_dirs, "/opt/local/include")
 
-        add_directory(library_dirs, "/usr/local/lib")
         # FIXME: check /opt/stuff directories here?
 
         prefix = sysconfig.get_config_var("prefix")
@@ -207,13 +206,6 @@ class pil_build_ext(build_ext):
             if os.path.isfile(os.path.join(tcl_dir, "tk.h")):
                 add_directory(include_dirs, tcl_dir)
 
-        # standard locations
-        add_directory(library_dirs, "/usr/local/lib")
-        add_directory(include_dirs, "/usr/local/include")
-
-        add_directory(library_dirs, "/usr/lib")
-        add_directory(include_dirs, "/usr/include")
-
         #
         # insert new dirs *before* default libs, to avoid conflicts
         # between Python PYD stub libs and real libraries