msvc compile with /MT to include redistributables into binaries
This commit is contained in:
parent
e9c8a88beb
commit
ec6ac26e8b
1 changed files with 2 additions and 0 deletions
|
|
@ -48,6 +48,8 @@ if host_machine.system() == 'windows'
|
|||
#platform_deps = [cc.find_library('ws2_32')]
|
||||
platform_inc = include_directories(['.','../libr/include','../libr/include/msvc'])
|
||||
host_os = 'windows'
|
||||
# Add /MT flag to add necessary runtimes into libraries/executables.
|
||||
add_global_arguments('/MT', language: 'c')
|
||||
endif
|
||||
|
||||
# load plugin configuration
|
||||
|
|
|
|||
Loading…
Reference in a new issue