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:
parent
b3a7ee5930
commit
195cfa7814
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user