sokol: fix for freebsd (#7466)

pull/7575/head
Bakul Shah 2020-12-26 00:08:16 -08:00 committed by GitHub
parent 6842c3c1a4
commit 80a9d08505
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -6,9 +6,11 @@ pub const (
#flag -I @VROOT/thirdparty/sokol #flag -I @VROOT/thirdparty/sokol
#flag -I @VROOT/thirdparty/sokol/util #flag -I @VROOT/thirdparty/sokol/util
#flag freebsd -I /usr/local/include
#flag darwin -fobjc-arc #flag darwin -fobjc-arc
#flag linux -lX11 -lGL -lXcursor -lXi #flag linux -lX11 -lGL -lXcursor -lXi
#flag freebsd -L/usr/local/lib -lX11 -lGL -lXcursor -lXi
#flag windows -lgdi32 #flag windows -lgdi32
@ -18,6 +20,7 @@ pub const (
// OPENGL // OPENGL
#flag linux -DSOKOL_GLCORE33 #flag linux -DSOKOL_GLCORE33
#flag freebsd -DSOKOL_GLCORE33
//#flag darwin -framework OpenGL -framework Cocoa -framework QuartzCore //#flag darwin -framework OpenGL -framework Cocoa -framework QuartzCore
// D3D // D3D