Fix build with -as-needed. We can't rely on luckily another library linking GLU in for us.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@3990 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
dimstar 2009-09-03 16:58:53 +00:00
parent c2a179c67a
commit 0abff013f3

View File

@ -117,6 +117,7 @@ case "${host}" in
save_LIBS=$LIBS
AC_SEARCH_LIBS(glNewList, [ GL GLcore MesaGL ])
AC_SEARCH_LIBS(gluLookAt, GLU)
opengl_LIBS="$LIBS"
LIBS=$save_LIBS
if test "x$ac_cv_search_glNewList" = "x-lGLcore"; then