diff options
| author | Michał Górny <mgorny@gentoo.org> | 2015-08-09 10:43:34 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2015-08-09 10:47:50 +0200 |
| commit | 33cf38e4f1eb6b456df0874b34ff54a8961cf97e (patch) | |
| tree | 41777587297a3b0614b5f2dd2deb5c727b53b228 /dev-lang/python/files/python-2.7.5-library-path.patch | |
| parent | afad29a8b43f1ccf53f95e95a9b12e430183f8bb (diff) | |
| download | gentoo-33cf38e4f1eb6b456df0874b34ff54a8961cf97e.tar.gz gentoo-33cf38e4f1eb6b456df0874b34ff54a8961cf97e.tar.bz2 gentoo-33cf38e4f1eb6b456df0874b34ff54a8961cf97e.zip | |
Move 3.2 to ::python. Remove old patches.
Package-Manager: portage-2.2.20
Diffstat (limited to 'dev-lang/python/files/python-2.7.5-library-path.patch')
| -rw-r--r-- | dev-lang/python/files/python-2.7.5-library-path.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/dev-lang/python/files/python-2.7.5-library-path.patch b/dev-lang/python/files/python-2.7.5-library-path.patch deleted file mode 100644 index 6f435750a209..000000000000 --- a/dev-lang/python/files/python-2.7.5-library-path.patch +++ /dev/null @@ -1,25 +0,0 @@ -# HG changeset patch -# User Ned Deily <nad@acm.org> -# Date 1368666045 25200 -# Node ID cd577c3288860b0deb459443ca5c489dc0f99ef6 -# Parent 149340b3004acfcb68e5ed36b1e96b7463c756c7 -Issue #17990: Only modify include and library search paths when cross-compiling. - -diff --git a/setup.py b/setup.py ---- a/setup.py -+++ b/setup.py -@@ -437,9 +437,11 @@ class PyBuildExt(build_ext): - - def detect_modules(self): - # Ensure that /usr/local is always used -- add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib') -- add_dir_to_list(self.compiler.include_dirs, '/usr/local/include') -- self.add_gcc_paths() -+ if not cross_compiling: -+ add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib') -+ add_dir_to_list(self.compiler.include_dirs, '/usr/local/include') -+ if cross_compiling: -+ self.add_gcc_paths() - self.add_multiarch_paths() - - # Add paths specified in the environment variables LDFLAGS and |
