summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python-backports-lzma/python-backports-lzma/0001-setup.py-do-not-add-include-and-library-directories-.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python-backports-lzma/python-backports-lzma/0001-setup.py-do-not-add-include-and-library-directories-.patch')
-rw-r--r--meta/recipes-devtools/python-backports-lzma/python-backports-lzma/0001-setup.py-do-not-add-include-and-library-directories-.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/meta/recipes-devtools/python-backports-lzma/python-backports-lzma/0001-setup.py-do-not-add-include-and-library-directories-.patch b/meta/recipes-devtools/python-backports-lzma/python-backports-lzma/0001-setup.py-do-not-add-include-and-library-directories-.patch
deleted file mode 100644
index 0eb904a8a7..0000000000
--- a/meta/recipes-devtools/python-backports-lzma/python-backports-lzma/0001-setup.py-do-not-add-include-and-library-directories-.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From e5e3196cf69172b625c8c6ccca991c02fd18137c Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 30 Dec 2016 18:02:12 +0200
4Subject: [PATCH] setup.py: do not add include and library directories from the
5 host
6
7This avoids host contamination.
8
9Upstream-Status: Inappropriate [oe-core specific]
10Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11---
12 setup.py | 4 +---
13 1 file changed, 1 insertion(+), 3 deletions(-)
14
15diff --git a/setup.py b/setup.py
16index 7886cf7..9a0356a 100644
17--- a/setup.py
18+++ b/setup.py
19@@ -31,9 +31,7 @@ packages = ["backports", "backports.lzma"]
20 home = os.path.expanduser("~")
21 extens = [Extension('backports/lzma/_lzma',
22 ['backports/lzma/_lzmamodule.c'],
23- libraries = ['lzma'],
24- include_dirs = [os.path.join(home, 'include'), '/opt/local/include', '/usr/local/include'],
25- library_dirs = [os.path.join(home, 'lib'), '/opt/local/lib', '/usr/local/lib']
26+ libraries = ['lzma']
27 )]
28
29 descr = "Backport of Python 3.3's 'lzma' module for XZ/LZMA compressed files."
30--
312.11.0
32