From 642c8a11fd3b1c6b2fed366e5344885ca0188b37 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Fri, 4 Jun 2004 13:55:13 +0000 Subject: [PATCH] Patch #926209: Patch to setup.py to run on x86_64 Linux. --- Misc/NEWS | 3 +++ setup.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Misc/NEWS b/Misc/NEWS index 304c3be92d..ffc21d0f4d 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 9057bacffc..cc163eac8c 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 = [] -- 2.50.1