mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-08-04 14:45:32 +02:00
comment on why -static is used with MinGW build
This commit is contained in:
parent
2646921695
commit
78ff7e2cd6
1 changed files with 4 additions and 1 deletions
|
@ -407,7 +407,10 @@ filter { "system:windows", "action:gmake*", }
|
||||||
}
|
}
|
||||||
-- source: https://gcc.gnu.org/onlinedocs/gcc/Cygwin-and-MinGW-Options.html
|
-- source: https://gcc.gnu.org/onlinedocs/gcc/Cygwin-and-MinGW-Options.html
|
||||||
linkoptions {
|
linkoptions {
|
||||||
"-static-libgcc", "-static-libstdc++", "-static",
|
-- I don't know why but if libgcc/libstdc++ as well as pthreads are not statically linked
|
||||||
|
-- none of the output binary .dlls will reach their DllMain() in x64dbg
|
||||||
|
-- even when they're force-loaded in any process they immediately unload
|
||||||
|
"-static",
|
||||||
-- from docs: "specifies that the typical Microsoft Windows predefined macros are to be set in the pre-processor,
|
-- from docs: "specifies that the typical Microsoft Windows predefined macros are to be set in the pre-processor,
|
||||||
-- but does not influence the choice of runtime library/startup code"
|
-- but does not influence the choice of runtime library/startup code"
|
||||||
-- optional really
|
-- optional really
|
||||||
|
|
Loading…
Add table
Reference in a new issue