Fixing bug report from IRC : glut support also requires GLU since functions like gluNewQuadric are then called (hopefully I didn't break anything)

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4385 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2010-01-02 16:42:15 +00:00
parent 5c432893f3
commit 45092439b3

View File

@ -285,7 +285,17 @@ else
CXXFLAGS=$save_CSSFLAGS
LDFLAGS=$save_LDFLAGS
fi
glut_LIBS="$LIBS"
case "${host}" in
*darwin*|*macosx*)
glut_LIBS="$LIBS"
;;
*)
glut_LIBS="$LIBS -lGLU"
;;
esac
LIBS=$save_LIBS
dnl ==============