1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

disable -compress on windows

This commit is contained in:
Alexander Medvednikov 2019-09-19 16:05:17 +03:00
parent afb372bbdf
commit c8a781bf77

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')