1 From e5e3196cf69172b625c8c6ccca991c02fd18137c Mon Sep 17 00:00:00 2001
2 From: Alexander Kanavin <alex.kanavin@gmail.com>
3 Date: Fri, 30 Dec 2016 18:02:12 +0200
4 Subject: [PATCH] setup.py: do not add include and library directories from the
7 This avoids host contamination.
9 Upstream-Status: Inappropriate [oe-core specific]
10 Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
13 1 file changed, 1 insertion(+), 3 deletions(-)
15 diff --git a/setup.py b/setup.py
16 index 7886cf7..9a0356a 100644
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']
29 descr = "Backport of Python 3.3's 'lzma' module for XZ/LZMA compressed files."