diff options
author | phillip.eby <phillip.eby@6015fed2-1504-0410-9fe1-9d1591cc4771> | 2008-08-21 21:37:58 +0000 |
---|---|---|
committer | phillip.eby <phillip.eby@6015fed2-1504-0410-9fe1-9d1591cc4771> | 2008-08-21 21:37:58 +0000 |
commit | 71d3cb8ef260dc9162d57742d9a1cf58c0c90e49 (patch) | |
tree | 86f32b76fe2dbaca33113abd618b7b446ad0c3a7 /setuptools/command | |
parent | f272fd444377be9e72bd183fab6dc28c05cdaec4 (diff) | |
download | python-setuptools-71d3cb8ef260dc9162d57742d9a1cf58c0c90e49.tar.gz |
Ensure that _full_name is set on all shared libs before extensions
are checked for shared lib usage. (problem reported by Andi Vajda)
git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@65962 6015fed2-1504-0410-9fe1-9d1591cc4771
Diffstat (limited to 'setuptools/command')
-rw-r--r-- | setuptools/command/build_ext.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/setuptools/command/build_ext.py b/setuptools/command/build_ext.py index b57b825..bfcda41 100644 --- a/setuptools/command/build_ext.py +++ b/setuptools/command/build_ext.py @@ -107,7 +107,9 @@ class build_ext(_build_ext): 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 @@ class build_ext(_build_ext): 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 |