[Python-bugs-list] [ python-Bugs-614051 ] win32 build_ext problem
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 04 Nov 2002 00:22:20 -0800
Bugs item #614051, was opened at 2002-09-24 23:18
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=614051&group_id=5470
Category: Distutils
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Jeremy Hylton (jhylton)
>Assigned to: Thomas Heller (theller)
Summary: win32 build_ext problem
Initial Comment:
From: Andy Miller <amiller@juniper.net>
To: jeremy@alum.mit.edu
Subject: Bug in build_ext.py
Date: Tue, 10 Sep 2002 03:25:46 -0700
In the last CVS version of build_ext.py you changed the
get_libraries function to read:
if sys.platform == "win32":
from distutils.msvccompiler import MSVCCompiler
if not isinstance(self.compiler, MSVCCompiler):
template = "python%d%d"
It also needs an else assocated with the "if not
isinstance"
else:
return ext.libraries
Otherwise if an installer has defined their own
compiler (or is
not using MSVC I suppose) then none of the libraries are
passed to the link stage - I discovered this with the
WxPython modules. The previous version of build_ext used
to fallout the bottom with the "return ext.libraries"
while with
the current version you get a 'None' if Win32 and NOT MSVC
Cheers
Andy
----------------------------------------------------------------------
>Comment By: Thomas Heller (theller)
Date: 2002-11-04 09:22
Message:
Logged In: YES
user_id=11105
Closing as fixed.
----------------------------------------------------------------------
Comment By: Thomas Heller (theller)
Date: 2002-10-31 15:28
Message:
Logged In: YES
user_id=11105
I've checked in a patch: build_ext.py, rev 1.86.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=614051&group_id=5470