diff --git a/qb/config.libs.sh b/qb/config.libs.sh index cdc86d21f8..3343bde8af 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -247,6 +247,7 @@ if [ "$HAVE_OPENGL" != 'no' ] && [ "$HAVE_GLES" != 'yes' ]; then # On some distros, -lCg doesn't link against -lstdc++ it seems ... check_lib_cxx CG -lCg cgCreateContext check_lib OPENGL -lGL + check_header OPENGL "GL/gl.h" [ "$HAVE_CG" = 'yes' ] && CG_LIBS='-lCg -lCgGL' fi