[clutter] cogl/Makefile.am: pass EXTRA_LDFLAGS for linking



commit 8bde73529f8d08ad9cc9b64df482ec93fd5ed804
Author: Robert Bragg <robert linux intel com>
Date:   Tue Apr 19 17:40:57 2011 +0100

    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.

 clutter/cogl/cogl/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter/cogl/cogl/Makefile.am b/clutter/cogl/cogl/Makefile.am
index c432c3f..8b1d9c9 100644
--- a/clutter/cogl/cogl/Makefile.am
+++ b/clutter/cogl/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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]