diff --git a/vlib/sokol/c/declaration.c.v b/vlib/sokol/c/declaration.c.v index f2242be477..856fcf4466 100644 --- a/vlib/sokol/c/declaration.c.v +++ b/vlib/sokol/c/declaration.c.v @@ -6,9 +6,11 @@ pub const ( #flag -I @VROOT/thirdparty/sokol #flag -I @VROOT/thirdparty/sokol/util +#flag freebsd -I /usr/local/include #flag darwin -fobjc-arc #flag linux -lX11 -lGL -lXcursor -lXi +#flag freebsd -L/usr/local/lib -lX11 -lGL -lXcursor -lXi #flag windows -lgdi32 @@ -18,6 +20,7 @@ pub const ( // OPENGL #flag linux -DSOKOL_GLCORE33 +#flag freebsd -DSOKOL_GLCORE33 //#flag darwin -framework OpenGL -framework Cocoa -framework QuartzCore // D3D