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

v.builder: remove default link flags -lm, -ldl, -lpthread (use module specific link flags instead) (#10099)

This commit is contained in:
Delyan Angelov
2021-05-14 14:28:53 +03:00
committed by GitHub
parent b728d89069
commit 20a22453cf
8 changed files with 37 additions and 9 deletions

View File

@@ -519,6 +519,7 @@ fn (mut p Parser) go_expr() ast.GoExpr {
}
}
pos := spos.extend(p.prev_tok.position())
p.register_auto_import('sync.threads')
return ast.GoExpr{
call_expr: call_expr
pos: pos