From 195cfa7814aaacd07ae7de4e1c1a3e4f2430c4d0 Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Tue, 19 Apr 2011 17:40:57 +0100 Subject: [PATCH] cogl/Makefile.am: pass EXTRA_LDFLAGS for linking When building on windows for example we need to ensure we pass -no-undefined to the linker. Although we were substituting a COGL_EXTRA_LDFLAGS variable from our configure.ac we forgot to reference that when linking cogl. --- cogl/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogl/Makefile.am b/cogl/Makefile.am index c432c3fe2..8b1d9c996 100644 --- a/cogl/Makefile.am +++ b/cogl/Makefile.am @@ -361,7 +361,7 @@ else noinst_LTLIBRARIES += libcogl.la endif -libcogl_la_LIBADD = -lm $(COGL_DEP_LIBS) +libcogl_la_LIBADD = -lm $(COGL_DEP_LIBS) $(COGL_EXTRA_LDFLAGS) if SUPPORT_GLX libcogl_la_LIBADD += -ldl endif