summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2002-10-31 14:26:37 (GMT)
committerThomas Heller <theller@ctypes.org>2002-10-31 14:26:37 (GMT)
commit05c93356590c29ac93d4fe903edb5916203cecc5 (patch)
tree154d0233462c7901cdcf7a48195441ef925d2571 /Lib
parentccf4e421b829ce69eb62806fdd77eb71249713dd (diff)
downloadcpython-05c93356590c29ac93d4fe903edb5916203cecc5.zip
cpython-05c93356590c29ac93d4fe903edb5916203cecc5.tar.gz
cpython-05c93356590c29ac93d4fe903edb5916203cecc5.tar.bz2
Fixes SF bug#614051: win32 build_ext problem.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/command/build_ext.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py
index 6b6f2c7..11ab595 100644
--- a/Lib/distutils/command/build_ext.py
+++ b/Lib/distutils/command/build_ext.py
@@ -635,6 +635,8 @@ class build_ext (Command):
# don't extend ext.libraries, it may be shared with other
# extensions, it is a reference to the original list
return ext.libraries + [pythonlib]
+ else:
+ return ext.libraries
elif sys.platform == "os2emx":
# EMX/GCC requires the python library explicitly, and I
# believe VACPP does as well (though not confirmed) - AIM Apr01