[Python-checkins] r65963 - sandbox/branches/setuptools-0.6/setuptools/command/build_ext.py
phillip.eby
python-checkins at python.org
Thu Aug 21 23:38:38 CEST 2008
Author: phillip.eby
Date: Thu Aug 21 23:38:38 2008
New Revision: 65963
Log:
Ensure that _full_name is set on all shared libs before extensions
are checked for shared lib usage. (problem reported by Andi Vajda)
(backport from trunk)
Modified:
sandbox/branches/setuptools-0.6/setuptools/command/build_ext.py
Modified: sandbox/branches/setuptools-0.6/setuptools/command/build_ext.py
==============================================================================
--- sandbox/branches/setuptools-0.6/setuptools/command/build_ext.py (original)
+++ sandbox/branches/setuptools-0.6/setuptools/command/build_ext.py Thu Aug 21 23:38:38 2008
@@ -107,7 +107,9 @@
if self.shlibs:
self.setup_shlib_compiler()
for ext in self.extensions:
- fullname = ext._full_name = self.get_ext_fullname(ext.name)
+ ext._full_name = self.get_ext_fullname(ext.name)
+ for ext in self.extensions:
+ fullname = ext._full_name
self.ext_map[fullname] = ext
ltd = ext._links_to_dynamic = \
self.shlibs and self.links_to_dynamic(ext) or False
@@ -119,8 +121,6 @@
if ltd and use_stubs and os.curdir not in ext.runtime_library_dirs:
ext.runtime_library_dirs.append(os.curdir)
-
-
def setup_shlib_compiler(self):
compiler = self.shlib_compiler = new_compiler(
compiler=self.compiler, dry_run=self.dry_run, force=self.force
More information about the Python-checkins
mailing list