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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 37 additions and 9 deletions

View file

@ -2,6 +2,10 @@ module dl
#include <dlfcn.h>
$if linux {
#flag -ldl
}
pub const (
rtld_now = C.RTLD_NOW
rtld_lazy = C.RTLD_LAZY