Skip to content

Commit

Permalink
builtin: link to user32 to fix boehm GC compilation on Windows with c…
Browse files Browse the repository at this point in the history
…lang released from the LLVM project (fix #20724) (#20767)
  • Loading branch information
zeozeozeo committed Feb 10, 2024
1 parent ee3cd36 commit 99579ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/builtin/builtin_d_gcboehm.c.v
Expand Up @@ -72,11 +72,11 @@ $if dynamic_boehm ? {
} $else $if windows {
#flag -DGC_NOT_DLL=1
#flag -DGC_WIN32_THREADS=1
#flag -luser32
$if tinyc {
#flag -DGC_BUILTIN_ATOMIC=1
#flag -I @VEXEROOT/thirdparty/libgc/include
#flag @VEXEROOT/thirdparty/tcc/lib/libgc.a
#flag -luser32
} $else $if msvc {
// Build libatomic_ops
#flag @VEXEROOT/thirdparty/libatomic_ops/atomic_ops.o
Expand Down

0 comments on commit 99579ac

Please sign in to comment.