[cogl/cogl-1.14: 172/174] Remove vestiges of libdl / dlfcn.h as cogl uses gmodule.
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/cogl-1.14: 172/174] Remove vestiges of libdl / dlfcn.h as cogl uses gmodule.
- Date: Tue, 22 Jan 2013 18:45:14 +0000 (UTC)
commit 8c319e4bc165b38294aaf5e727e9a03b13a479d1
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>
(cherry picked from commit 397e673446e86a9116cb7396ea094e9f8b46986e)
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 f5e8174..405a997 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 627d482..97e4c60 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]