mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-09-10 12:02:53 +02:00
Statically link C++ standard library and libpthread on libretro Windows
This commit is contained in:
parent
e581b58305
commit
caf0f7ef32
1 changed files with 3 additions and 0 deletions
|
@ -117,6 +117,9 @@ if get_option('retro') == true
|
|||
'-Wno-ignored-optimization-argument',
|
||||
] + retro_defines,
|
||||
cpp_args: retro_defines,
|
||||
link_args: [
|
||||
host_system == 'cygwin' or host_system == 'windows' ? '-static' : '', # We need to statically link the C++ standard library (libstdc++/libc++), the compiler runtime library (libgcc/compiler-rt) and libpthread on Windows
|
||||
],
|
||||
gnu_symbol_visibility: 'hidden',
|
||||
include_directories: [
|
||||
include_directories(retro_phase1),
|
||||
|
|
Loading…
Add table
Reference in a new issue