This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dobesv
Recipients
Date 2007-05-22.17:18:13
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Here's a workaround I used to fix the linker:

# Force g++ for linking
import distutils.sysconfig
old_customize_compiler = distutils.sysconfig.customize_compiler
def customize_compiler(compiler):
    old_customize_compiler(compiler)
    if compiler.compiler_type == 'mingw':
       compiler.set_executables(linker_so='g++ -mno-cygwin -shared')
distutils.sysconfig.customize_compiler = customize_compiler


You could also override the compiler, too.
History
Date User Action Args
2007-08-23 14:17:54adminlinkissue832159 messages
2007-08-23 14:17:54admincreate