]> granicus.if.org Git - python/commitdiff
Fixes SF bug#614051: win32 build_ext problem.
authorThomas Heller <theller@ctypes.org>
Thu, 31 Oct 2002 14:26:37 +0000 (14:26 +0000)
committerThomas Heller <theller@ctypes.org>
Thu, 31 Oct 2002 14:26:37 +0000 (14:26 +0000)
Lib/distutils/command/build_ext.py

index 6b6f2c7d5740d7ec884b8fa4c065921ab79b013c..11ab59528adf88adb1c4f6a0d549f038943e1405 100644 (file)
@@ -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