Skip to content

Commit cba5adf

Browse files
committed
Drop explicit linking of GL libraries.
The pkg-config of Qt5OpenGL should refer to them.
1 parent b5f4305 commit cba5adf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

gl/gl.go

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ 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
86
// #cgo pkg-config: Qt5Core Qt5Widgets Qt5Quick Qt5OpenGL
97
//
108
// #include "gl.h"

0 commit comments

Comments
 (0)