[cogl] Remove vestiges of libdl / dlfcn.h as cogl uses gmodule.



commit 397e673446e86a9116cb7396ea094e9f8b46986e
Author: Patrick Welche <prlw1 cam ac uk>
Date:   Thu Jan 17 12:35:25 2013 +0000

    Remove vestiges of libdl / dlfcn.h as cogl uses gmodule.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=691944
    
    Reviewed-by: Neil Roberts <neil linux intel com>

 cogl/Makefile.am              |    3 ---
 cogl/winsys/cogl-winsys-glx.c |    1 -
 2 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/cogl/Makefile.am b/cogl/Makefile.am
index 3862810..1389aed 100644
--- a/cogl/Makefile.am
+++ b/cogl/Makefile.am
@@ -520,9 +520,6 @@ endif
 lib_LTLIBRARIES += libcogl2.la
 
 libcogl2_la_LIBADD = -lm $(COGL_DEP_LIBS) $(COGL_EXTRA_LDFLAGS)
-if SUPPORT_GLX
-libcogl2_la_LIBADD += -ldl
-endif
 if !USE_GLIB
 libcogl2_la_LIBADD += $(top_builddir)/deps/glib/libglib.la
 libcogl2_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 6f5d621..3a0abba 100644
--- a/cogl/winsys/cogl-winsys-glx.c
+++ b/cogl/winsys/cogl-winsys-glx.c
@@ -57,7 +57,6 @@
 
 #include <glib/gi18n-lib.h>
 
-#include <dlfcn.h>
 #include <GL/glx.h>
 #include <X11/Xlib.h>
 



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