[Python-checkins] r60548 - in python/branches/release25-maint: Misc/NEWS setup.py
brett.cannon
python-checkins at python.org
Sun Feb 3 10:58:03 CET 2008
Author: brett.cannon
Date: Sun Feb 3 10:58:02 2008
New Revision: 60548
Modified:
python/branches/release25-maint/Misc/NEWS
python/branches/release25-maint/setup.py
Log:
Backport r60537: have order of CPPFLAGS and LDFLAGS be honored.
Modified: python/branches/release25-maint/Misc/NEWS
==============================================================================
--- python/branches/release25-maint/Misc/NEWS (original)
+++ python/branches/release25-maint/Misc/NEWS Sun Feb 3 10:58:02 2008
@@ -260,6 +260,9 @@
Build
-----
+- Have the search path for building extensions follow the declared order in
+ $CPPFLAGS and $LDFLAGS.
+
- Bug #1234: Fixed semaphore errors on AIX 5.2
- Bug #1699: Define _BSD_SOURCE only on OpenBSD.
Modified: python/branches/release25-maint/setup.py
==============================================================================
--- python/branches/release25-maint/setup.py (original)
+++ python/branches/release25-maint/setup.py Sun Feb 3 10:58:02 2008
@@ -277,7 +277,7 @@
parser.add_option(arg_name, dest="dirs", action="append")
options = parser.parse_args(env_val.split())[0]
if options.dirs:
- for directory in options.dirs:
+ for directory in reversed(options.dirs):
add_dir_to_list(dir_list, directory)
if os.path.normpath(sys.prefix) != '/usr':
More information about the Python-checkins
mailing list