From 58758d281818c73b33259f321a5f7188063ef4d7 Mon Sep 17 00:00:00 2001 From: Themaister Date: Thu, 25 Aug 2011 09:49:32 +0200 Subject: [PATCH] Check Cg with CXX. --- qb/config.libs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qb/config.libs.sh b/qb/config.libs.sh index 626750bf79..11e4d4cceb 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -61,7 +61,8 @@ if [ $HAVE_SDL_NEW = yes ]; then exit 1 fi -check_lib CG -lCg cgCreateContext +# On some distros, -lCg doesn't link against -lstdc++ it seems ... +check_lib_cxx CG -lCg cgCreateContext check_pkgconf XML libxml-2.0 check_pkgconf SDL_IMAGE SDL_image