cpython: 1a00e04a233d (original) (raw)

Mercurial > cpython

changeset 90381:1a00e04a233d 3.4

- Issue #15234: For BerkelyDB and Sqlite, only add the found library and include directories if they aren't already being searched. This avoids an explicit runtime library dependency. [#15234]

doko@ubuntu.com
date Thu, 17 Apr 2014 17:52:48 +0200
parents 503bf9dee28e
children 1d1aefd00f07 ca2edbefca35
files Misc/NEWS setup.py
diffstat 2 files changed, 17 insertions(+), 2 deletions(-)[+] [-] Misc/NEWS 4 setup.py 15

line wrap: on

line diff

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -167,6 +167,10 @@ IDLE Build ----- +- Issue #15234: For BerkelyDB and Sqlite, only add the found library and

--- a/setup.py +++ b/setup.py @@ -1022,8 +1022,16 @@ class PyBuildExt(build_ext): if db_setup_debug: print("bsddb using BerkeleyDB lib:", db_ver, dblib) print("bsddb lib dir:", dblib_dir, " inc dir:", db_incdir)

@@ -1134,6 +1142,9 @@ class PyBuildExt(build_ext): # can end up with a bad search path order. if sqlite_incdir not in self.compiler.include_dirs: include_dirs.append(sqlite_incdir)

@@ -1202,7 +1213,7 @@ class PyBuildExt(build_ext): libraries = gdbm_libs) break elif cand == "bdb":