LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File graphviz-smyrna-link_against_glu.patch of Package graphviz-plugins (Project graphics)

---
 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: configure.ac
===================================================================
--- configure.ac.orig	2013-10-23 17:25:44.020188917 +0200
+++ configure.ac	2013-10-23 17:26:17.637411247 +0200
@@ -2811,7 +2811,7 @@ else
   
   AC_CHECK_HEADER(GL/glut.h,
     AC_CHECK_LIB(glut,main,
-      [GLUT_LIBS="$GLUT_LIBS -lglut"
+      [GLUT_LIBS="$GLUT_LIBS -lglut $(pkg-config --libs glu)"
       use_glut="Yes"
       AC_DEFINE_UNQUOTED(HAVE_GLUT,1,[Define if you have the GLUT library])],
       use_glut="No (missing libglut)"