summaryrefslogtreecommitdiffstats
path: root/patches/Python-2.6.6/0013-setup.py-skip-import-check-while-cross-compiling.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/Python-2.6.6/0013-setup.py-skip-import-check-while-cross-compiling.patch')
-rw-r--r--patches/Python-2.6.6/0013-setup.py-skip-import-check-while-cross-compiling.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/patches/Python-2.6.6/0013-setup.py-skip-import-check-while-cross-compiling.patch b/patches/Python-2.6.6/0013-setup.py-skip-import-check-while-cross-compiling.patch
deleted file mode 100644
index 480f68869..000000000
--- a/patches/Python-2.6.6/0013-setup.py-skip-import-check-while-cross-compiling.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From: Marc Kleine-Budde <mkl@pengutronix.de>
-Date: Tue, 28 Apr 2009 19:08:19 +0200
-Subject: [PATCH] setup.py: skip import check while cross compiling
-
-during cross compilation we cannot import freshly for the target
-compiled modules into the build python. This patch skips this check.
-
-Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
----
- setup.py | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/setup.py b/setup.py
-index 08208bd..01b0ffc 100644
---- a/setup.py
-+++ b/setup.py
-@@ -313,6 +313,10 @@ class PyBuildExt(build_ext):
- self.announce('WARNING: skipping import check for Cygwin-based "%s"'
- % ext.name)
- return
-+ if os.environ.get('CROSS_COMPILING') == 'yes':
-+ self.announce('WARNING: skipping import check for cross compiled "%s"'
-+ % ext.name)
-+ return
- ext_filename = os.path.join(
- self.build_lib,
- self.get_ext_filename(self.get_ext_fullname(ext.name)))