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.
This commit is contained in:
Robert Bragg 2011-04-19 17:40:57 +01:00
parent b3a7ee5930
commit 195cfa7814

View File

@ -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