targets/Win32/__init__.py
author greg
Thu, 28 May 2009 17:29:19 +0200
changeset 352 81777d4e379c
parent 290 3bd617ae7a05
child 621 a3ce93d63832
permissions -rwxr-xr-x
fixed bug : Lock _FreePLC until _stopPLC finish
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"]