Skip to content

Commit faad7c3

Browse files
committed
Revert cba5adf: drop explicit linking of GL libs
1 parent 44aa087 commit faad7c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gl/gl.go

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ package gl
33
// #cgo CXXFLAGS: -std=c++0x -pedantic-errors -Wall -fno-strict-aliasing
44
// #cgo CPPFLAGS: -DGL_GLEXT_PROTOTYPES -DGL_GLEXT_LEGACY
55
// #cgo LDFLAGS: -lstdc++
6+
// #cgo !darwin LDFLAGS: -lGL
7+
// #cgo darwin LDFLAGS: -framework OpenGL
68
// #cgo pkg-config: Qt5Core Qt5Widgets Qt5Quick Qt5OpenGL
79
//
810
// #include "gl.h"

0 commit comments

Comments
 (0)