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

$if mac => $if macos

This commit is contained in:
Alexander Medvednikov
2019-12-03 16:29:24 +03:00
parent ff80e3a5fa
commit f192429c8a
4 changed files with 9 additions and 9 deletions

View File

@ -396,7 +396,7 @@ start:
ret2 := os.system('upx --lzma -qqq $v.out_name')
if ret2 != 0 {
println('upx failed')
$if mac {
$if macos {
println('install upx with `brew install upx`')
}
$if linux {
@ -539,7 +539,7 @@ fn missing_compiler_info() string {
$if linux {
return 'On Debian/Ubuntu, run `sudo apt install build-essential`'
}
$if mac {
$if macos {
return 'Install command line XCode tools with `xcode-select --install`'
}
return ''