Moving /MT modifier to release build (#8103)

This commit is contained in:
xarkes 2017-08-02 13:13:25 +02:00 committed by radare
parent 7b5de5cb51
commit 567b5837b0

View File

@ -67,7 +67,9 @@ if host_machine.system() == 'windows'
platform_inc = include_directories(['.','../libr/include','../libr/include/msvc'])
host_os = 'windows'
if get_option('default_library') == 'static'
if get_option('buildtype') == 'release'
add_global_arguments('/MT', language: 'c')
endif
message(' ------ WINDOWS VERSION: BUILD STATIC ------')
else
message(' ------ WINDOWS VERSION: BUILD SHARED ------')