From d5c306ce5714bef57107890402afc24a084c0796 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sun, 16 May 2021 20:21:18 +0300 Subject: [PATCH] sokol: add -lpthread flag on linux to prevent failing asserts in some cases --- vlib/sokol/c/declaration.c.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/sokol/c/declaration.c.v b/vlib/sokol/c/declaration.c.v index a0120c2166..c2e435abb5 100644 --- a/vlib/sokol/c/declaration.c.v +++ b/vlib/sokol/c/declaration.c.v @@ -8,7 +8,7 @@ pub const ( #flag -I @VEXEROOT/thirdparty/sokol/util #flag freebsd -I /usr/local/include #flag darwin -fobjc-arc -#flag linux -lX11 -lGL -lXcursor -lXi +#flag linux -lX11 -lGL -lXcursor -lXi -lpthread #flag freebsd -L/usr/local/lib -lX11 -lGL -lXcursor -lXi #flag windows -lgdi32 // METAL