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