equal
deleted
inserted
replaced
1 from .. import toolchain_gcc |
1 from .. import toolchain_gcc |
2 |
2 |
3 class Win32_target(toolchain_gcc): |
3 class Win32_target(toolchain_gcc): |
4 extension = ".dll" |
4 extension = ".dll" |
5 CustomLDFLAGS = ["-shared", |
5 def getBuilderLDFLAGS(self): |
|
6 return toolchain_gcc.getBuilderLDFLAGS(self) + ["-shared", |
6 "-Wl,--export-all-symbols", |
7 "-Wl,--export-all-symbols", |
7 "-Wl,--enable-auto-import", |
8 "-Wl,--enable-auto-import", |
8 "-Wl,--whole-archive", |
9 "-Wl,--whole-archive", |
9 "-Wl,--no-whole-archive", |
10 "-Wl,--no-whole-archive", |
10 "-Wl,--exclude-libs,All"] |
11 "-Wl,--exclude-libs,All"] |