summaryrefslogtreecommitdiff
path: root/package/python2/patches/patch-setup_py
diff options
context:
space:
mode:
Diffstat (limited to 'package/python2/patches/patch-setup_py')
-rw-r--r--package/python2/patches/patch-setup_py4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/python2/patches/patch-setup_py b/package/python2/patches/patch-setup_py
index 7da78c43c..fb91da1d3 100644
--- a/package/python2/patches/patch-setup_py
+++ b/package/python2/patches/patch-setup_py
@@ -89,8 +89,8 @@ diff -Nur Python-2.7.orig/setup.py Python-2.7/setup.py
- '/lib', '/usr/lib',
- ]
- inc_dirs = self.compiler.include_dirs + ['/usr/include']
-+ lib_dirs = self.compiler.library_dirs
-+ inc_dirs = self.compiler.include_dirs
++ lib_dirs = self.compiler.library_dirs + ['@@STAGING_DIR@@/usr/lib']
++ inc_dirs = self.compiler.include_dirs + ['@@STAGING_DIR@@/usr/include']
exts = []
missing = []