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

builtin: allow a static gc build on windows (#10510)

This commit is contained in:
Ekopalypse 2021-06-19 16:06:25 +02:00 committed by GitHub
parent 3b5a37628f
commit c53a344d2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,11 @@ $if static_boehm ? {
#flag -I/usr/local/include
#flag /usr/local/lib/libgc.a
#flag -lpthread
} $else $if windows {
#define GC_NOT_DLL 1
#flag -I@VEXEROOT/thirdparty/libgc/include
#flag -L@VEXEROOT/thirdparty/libgc
#flag -lgc
} $else {
#flag -lgc
}