diff options
Diffstat (limited to 'setuptools/command/build_ext.py')
-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 b2095796..ec8a8038 100644 --- a/setuptools/command/build_ext.py +++ b/setuptools/command/build_ext.py @@ -52,9 +52,7 @@ class build_ext(_build_ext): for ext in self.shlibs: if self.get_ext_fullname(ext.name)==fullname: fn, ext = os.path.splitext(filename) - fn = self.shlib_compiler.library_filename(fn,'shared') - print "shlib",fn - return fn + return self.shlib_compiler.library_filename(fn,'shared') return filename def initialize_options(self): @@ -80,6 +78,8 @@ class build_ext(_build_ext): self.compiler = _compiler + + def setup_shlib_compiler(self): compiler = self.shlib_compiler = new_compiler( compiler=self.compiler, dry_run=self.dry_run, force=self.force |