Skip to content

Commit

Permalink
builtin: use #pkgconfig bdw-gc-threaded where available, instead of…
Browse files Browse the repository at this point in the history
… `#pkgconfig bdw-gc` (on FreeBSD)
  • Loading branch information
spytheman committed Jan 18, 2024
1 parent bb9acf4 commit 9c7e370
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vlib/builtin/builtin_d_gcboehm.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ $if dynamic_boehm ? {
#flag @VEXEROOT/thirdparty/libgc/gc.o
}
} $else {
$if $pkgconfig('bdw-gc') {
$if $pkgconfig('bdw-gc-threaded') {
#pkgconfig bdw-gc-threaded
} $else $if $pkgconfig('bdw-gc') {
#pkgconfig bdw-gc
} $else {
$if openbsd || freebsd {
Expand Down

0 comments on commit 9c7e370

Please sign in to comment.