mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
v.builder: remove default link flags -lm, -ldl, -lpthread (use module specific link flags instead) (#10099)
This commit is contained in:
parent
b728d89069
commit
20a22453cf
8 changed files with 37 additions and 9 deletions
|
@ -9,6 +9,15 @@ $if gcboehm ? {
|
|||
}
|
||||
#include "fontstash.h"
|
||||
#flag -I /usr/local/Cellar/freetype/2.10.2/include/freetype2
|
||||
|
||||
$if windows {
|
||||
$if tinyc {
|
||||
#flag @VEXEROOT/thirdparty/tcc/lib/openlibm.o
|
||||
}
|
||||
} $else {
|
||||
#flag -lm
|
||||
}
|
||||
|
||||
//#flag -lfreetype
|
||||
pub const (
|
||||
// TODO: fontstash.used_import is used to keep v from warning about unused imports
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue