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

fix OpenBSD build

This commit is contained in:
Alexander Medvednikov 2019-07-15 20:22:48 +02:00
parent 374781da1a
commit 9b020fad53

View File

@ -613,7 +613,7 @@ mut args := ''
// || os.user_os() == 'linux' // || os.user_os() == 'linux'
if v.pref.build_mode != .build && (v.os == .linux || v.os == .freebsd || v.os == .openbsd || if v.pref.build_mode != .build && (v.os == .linux || v.os == .freebsd || v.os == .openbsd ||
v.os == .netbsd || v.os == .dragonfly) { v.os == .netbsd || v.os == .dragonfly) {
a << '-lm -ldl -lpthread' a << '-lm -lpthread' // -ldl
} }
// Find clang executable // Find clang executable
//fast_clang := '/usr/local/Cellar/llvm/8.0.0/bin/clang' //fast_clang := '/usr/local/Cellar/llvm/8.0.0/bin/clang'