targets/Win32/__init__.py
author Edouard TISSERANT <edouard.tisserant@gmail.com>
Tue, 01 Dec 2009 13:45:49 +0100
changeset 447 af3399aca7b7
parent 290 3bd617ae7a05
child 621 a3ce93d63832
permissions -rwxr-xr-x
Merge
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"]