targets/Win32/__init__.py
author Edouqrd Tisserant <edouard.tisserant@gmail.com>
Sat, 26 Mar 2011 18:50:51 +0100
changeset 583 8eff490f83fc
parent 290 3bd617ae7a05
child 621 a3ce93d63832
permissions -rwxr-xr-x
Fixed exception when adding variables in C_ext plugin
from .. import toolchain_gcc

class Win32_target(toolchain_gcc):
    extension = ".dll"
    def getBuilderLDFLAGS(self):
        return toolchain_gcc.getBuilderLDFLAGS(self) + ["-shared",
                     "-Wl,--export-all-symbols",
                     "-Wl,--enable-auto-import",
                     "-Wl,--whole-archive",
                     "-Wl,--no-whole-archive",
                     "-Wl,--exclude-libs,All"]