$OpenBSD: patch-Lib_distutils_command_build_ext_py,v 1.3 2008/02/27 00:30:47 djm Exp $ --- Lib/distutils/command/build_ext.py.orig Wed Apr 25 01:27:25 2007 +++ Lib/distutils/command/build_ext.py Fri Feb 15 11:53:53 2008 @@ -705,13 +705,6 @@ class build_ext (Command): return ext.libraries else: - from distutils import sysconfig - if sysconfig.get_config_var('Py_ENABLE_SHARED'): - template = "python%d.%d" - pythonlib = (template % - (sys.hexversion >> 24, (sys.hexversion >> 16) & 0xff)) - return ext.libraries + [pythonlib] - else: - return ext.libraries + return ext.libraries # class build_ext