graphviz/graphviz-smyrna-link_against_glu.patch
Philipp Thomas c0eac2ac7c - Split off smyrna into its own package and spec file to eliminate
the dependency cycle for the graphviz package.
- Add libGLU and libGL as libraries to link to which was missing.

OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=70
2013-10-24 09:38:23 +00:00

18 lines
606 B
Diff

---
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)"