(qb) Add check for -lGL

This commit is contained in:
Higor Eurípedes 2015-06-16 20:59:17 -03:00
parent 6e3662953d
commit 38be1d90d7

View File

@ -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