From 23c9c6dd78627f4804a1fe3435563329255e65b8 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Mon, 21 Jun 2010 18:30:06 +0100 Subject: [PATCH 2/2] cygwin build fix for libutil dependency on GLUT Set correct compiler/linker flags for libutil, so these are placed in the .la file, so executables built later which are linked with libutil are correctly linked on platforms which require things to be fully linked --- src/util/Makefile.am | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/util/Makefile.am b/src/util/Makefile.am index 5496c77..3456c90 100644 --- a/src/util/Makefile.am +++ b/src/util/Makefile.am @@ -30,6 +30,10 @@ AM_LDFLAGS = \ noinst_LTLIBRARIES = libutil.la if HAVE_GLUT +AM_CFLAGS += \ + $(GLUT_CFLAGS) +AM_LDFLAGS += \ + $(GLUT_LIBS) SHADERUTIL_SRC = \ shaderutil.c \ shaderutil.h -- 1.7.0.4