From ff266e22d1068dc225103600c3dc2348a9eaa360 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Fri, 18 Dec 2009 21:24:10 +0000 Subject: [PATCH] Explicitly link with -lGLU because freeglut may not provide it. Fixes #61. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index abc2ba8..59cfdd2 100644 --- a/configure.ac +++ b/configure.ac @@ -224,7 +224,7 @@ if test "${enable_gl}" != "no"; then break]) if test "${ac_cv_my_have_gl}" = "yes"; then AC_DEFINE(USE_GL, 1, Define to 1 to activate the OpenGL backend driver) - GL_LIBS="${GL_LIBS} -lGL -lglut" + GL_LIBS="${GL_LIBS} -lGL -lGLU -lglut" CACA_DRIVERS="${CACA_DRIVERS} gl" elif test "${enable_gl}" = "yes"; then AC_MSG_ERROR([cannot find OpenGL+FreeGLUT development files])