summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-06-04 13:55:13 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2004-06-04 13:55:13 (GMT)
commit642c8a11fd3b1c6b2fed366e5344885ca0188b37 (patch)
tree9d2276f9fe75d55395e48c3652b79dec9dc1ee6c
parent2d6783b4bca35dcfd9c4cf397aff78649d54eab8 (diff)
downloadcpython-642c8a11fd3b1c6b2fed366e5344885ca0188b37.zip
cpython-642c8a11fd3b1c6b2fed366e5344885ca0188b37.tar.gz
cpython-642c8a11fd3b1c6b2fed366e5344885ca0188b37.tar.bz2
Patch #926209: Patch to setup.py to run on x86_64 Linux.
-rw-r--r--Misc/NEWS3
-rw-r--r--setup.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 304c3be..ffc21d0 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -485,6 +485,9 @@ Tools/Demos
Build
-----
+- In order to find libraries, setup.py now also looks in /lib64, for use
+ on AMD64.
+
- Bug #934635: Fixed a bug where the configure script couldn't detect
getaddrinfo() properly if the KAME stack had SCTP support.
diff --git a/setup.py b/setup.py
index 9057bac..cc163ea 100644
--- a/setup.py
+++ b/setup.py
@@ -264,7 +264,7 @@ class PyBuildExt(build_ext):
# lib_dirs and inc_dirs are used to search for files;
# if a file is found in one of those directories, it can
# be assumed that no additional -I,-L directives are needed.
- lib_dirs = self.compiler.library_dirs + ['/lib', '/usr/lib']
+ lib_dirs = self.compiler.library_dirs + ['/lib', '/usr/lib', '/usr/lib/lib64']
inc_dirs = self.compiler.include_dirs + ['/usr/include']
exts = []