[Python-checkins] r60537 - python/trunk/setup.py
brett.cannon
python-checkins at python.org
Sun Feb 3 03:08:45 CET 2008
Author: brett.cannon
Date: Sun Feb 3 03:08:45 2008
New Revision: 60537
Modified:
python/trunk/setup.py
Log:
Directories from CPPFLAGS and LDFLAGS were being added in the reverse order for
searches as to how they were listed in the environment variable.
Modified: python/trunk/setup.py
==============================================================================
--- python/trunk/setup.py (original)
+++ python/trunk/setup.py Sun Feb 3 03:08:45 2008
@@ -327,7 +327,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