1
0
Fork 0

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 7a3d06c55c
commit 8bde73529f

View file

@ -361,7 +361,7 @@ else
noinst_LTLIBRARIES += libcogl.la noinst_LTLIBRARIES += libcogl.la
endif endif
libcogl_la_LIBADD = -lm $(COGL_DEP_LIBS) libcogl_la_LIBADD = -lm $(COGL_DEP_LIBS) $(COGL_EXTRA_LDFLAGS)
if SUPPORT_GLX if SUPPORT_GLX
libcogl_la_LIBADD += -ldl libcogl_la_LIBADD += -ldl
endif endif