disable -compress on windows

pull/2047/head
Alexander Medvednikov 2019-09-19 16:05:17 +03:00
parent afb372bbdf
commit c8a781bf77
1 changed files with 4 additions and 0 deletions

View File

@ -240,6 +240,10 @@ fn (v mut V) cc() {
os.rm(v.out_name_c)
}
if v.pref.compress {
$if windows {
println('-compress does not work on Windows for now')
return
}
ret := os.system('strip $v.out_name')
if ret != 0 {
println('strip failed')