diff --git a/cogl/Makefile.am b/cogl/Makefile.am index f5e81740a..405a997a1 100644 --- a/cogl/Makefile.am +++ b/cogl/Makefile.am @@ -547,9 +547,6 @@ include $(top_srcdir)/build/autotools/Makefile.am.enums lib_LTLIBRARIES += libcogl.la libcogl_la_LIBADD = -lm $(COGL_DEP_LIBS) $(COGL_EXTRA_LDFLAGS) -if SUPPORT_GLX -libcogl_la_LIBADD += -ldl -endif if !USE_GLIB libcogl_la_LIBADD += $(top_builddir)/deps/glib/libglib.la libcogl_la_LIBADD += $(top_builddir)/deps/gmodule/libgmodule.la diff --git a/cogl/winsys/cogl-winsys-glx.c b/cogl/winsys/cogl-winsys-glx.c index 627d482fe..97e4c60b5 100644 --- a/cogl/winsys/cogl-winsys-glx.c +++ b/cogl/winsys/cogl-winsys-glx.c @@ -57,7 +57,6 @@ #include -#include #include #include