fixed build tags for macos and ios
This commit is contained in:
parent
2163c982fd
commit
e40654181e
3 changed files with 7 additions and 2 deletions
|
@ -131,6 +131,10 @@ These features *should* work just like their HTML5 counterparts, but there are l
|
|||
|
||||
# Version history
|
||||
|
||||
v0.7.2
|
||||
|
||||
- Fixed build tags for macOS and iOS
|
||||
|
||||
v0.7.1
|
||||
|
||||
- Line strokes are now scaled and transformed correctly
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
//
|
||||
package gl
|
||||
|
||||
// #cgo darwin LDFLAGS: -framework OpenGLES
|
||||
// #cgo darwin,!ios LDFLAGS: -framework OpenGL
|
||||
// #cgo darwin,ios LDFLAGS: -framework OpenGLES
|
||||
// #cgo linux,!android LDFLAGS: -lGL
|
||||
// #cgo freebsd,!android LDFLAGS: -lGL
|
||||
// #cgo windows LDFLAGS: -lopengl32
|
||||
|
|
|
@ -20,7 +20,7 @@ package gl
|
|||
#cgo windows CFLAGS: -DTAG_WINDOWS
|
||||
#cgo windows LDFLAGS: -lopengl32
|
||||
#cgo darwin CFLAGS: -DTAG_DARWIN
|
||||
#cgo darwin LDFLAGS: -framework OpenGL
|
||||
#cgo darwin,!ios LDFLAGS: -framework OpenGL
|
||||
#cgo linux freebsd CFLAGS: -DTAG_POSIX
|
||||
#cgo linux freebsd LDFLAGS: -lGL
|
||||
#cgo egl CFLAGS: -DTAG_EGL
|
||||
|
|
Loading…
Reference in a new issue