From 6e86db301bf71473f2e91565d83077ac898a13a7 Mon Sep 17 00:00:00 2001 From: Yves-Alexis Perez Date: Wed, 4 Nov 2009 23:13:05 +0100 Subject: [PATCH] fix build failure with ld --no-add-needed Signed-off-by: Yves-Alexis Perez --- configure.in.in | 5 +++++ exo-open/Makefile.am | 1 + exo/Makefile.am | 1 + tests/Makefile.am | 3 +++ 4 files changed, 10 insertions(+), 0 deletions(-) diff --git a/configure.in.in b/configure.in.in index 9e84749..8e7b53d 100644 --- a/configure.in.in +++ b/configure.in.in @@ -159,6 +159,11 @@ XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.6.0]) XDT_CHECK_PACKAGE([GTHREAD], [gthread-2.0], [2.6.4]) XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.2.2]) +dnl ********************* +dnl *** Check for X11 *** +dnl ********************* +XDT_CHECK_LIBX11_REQUIRE() + dnl ************************************** dnl *** Check for libnotify (optional) *** dnl ************************************** diff --git a/exo-open/Makefile.am b/exo-open/Makefile.am index 6c5df08..01bc885 100644 --- a/exo-open/Makefile.am +++ b/exo-open/Makefile.am @@ -20,6 +20,7 @@ exo_open_LDFLAGS = \ exo_open_LDADD = \ $(GTK_LIBS) \ + $(LIBXFCE4UTIL_LIBS) \ $(top_builddir)/exo/libexo-$(LIBEXO_VERSION_MAJOR).$(LIBEXO_VERSION_MINOR).la # vi:set ts=8 sw=8 noet ai nocindent syntax=automake: diff --git a/exo/Makefile.am b/exo/Makefile.am index c2880da..60be9be 100644 --- a/exo/Makefile.am +++ b/exo/Makefile.am @@ -106,6 +106,7 @@ libexo_0_3_la_LDFLAGS = \ -no-undefined libexo_0_3_la_LIBADD = \ + $(LIBX11_LIBS) \ $(GTK_LIBS) \ $(LIBXFCE4UTIL_LIBS) diff --git a/tests/Makefile.am b/tests/Makefile.am index 3484aa5..910aca9 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -83,6 +83,8 @@ test_exo_icon_chooser_dialog_DEPENDENCIES = \ $(top_builddir)/exo/libexo-$(LIBEXO_VERSION_MAJOR).$(LIBEXO_VERSION_MINOR).la test_exo_icon_chooser_dialog_LDADD = \ + $(GLIB_LIBS) \ + $(GTK_LIBS) \ $(top_builddir)/exo/libexo-$(LIBEXO_VERSION_MAJOR).$(LIBEXO_VERSION_MINOR).la test_exo_wrap_table_SOURCES = \ @@ -96,6 +98,7 @@ test_exo_wrap_table_DEPENDENCIES = \ $(top_builddir)/exo/libexo-$(LIBEXO_VERSION_MAJOR).$(LIBEXO_VERSION_MINOR).la test_exo_wrap_table_LDADD = \ + $(GTK_LIBS) \ $(top_builddir)/exo/libexo-$(LIBEXO_VERSION_MAJOR).$(LIBEXO_VERSION_MINOR).la DISTCLEANFILES = test-exo-csource-data.c -- 1.6.5.2