diff --git a/qb/config.libs.sh b/qb/config.libs.sh index 46e75dbd6b..d19a933fe6 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -95,7 +95,7 @@ check_pkgconf SDL sdl 1.2.10 if [ "$HAVE_OPENGL" != 'no' ]; then if [ "$OS" = 'Darwin' ]; then - check_lib_c CG "-framework Cg" cgCreateContext + check_lib CG "-framework Cg" cgCreateContext else # On some distros, -lCg doesn't link against -lstdc++ it seems ... check_lib_cxx CG -lCg cgCreateContext