From 7406ae59870b753d80c6e202b5b9544ba4513123 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 | 1 + exo-open/Makefile.am | 1 + exo/Makefile.am | 1 + tests/Makefile.am | 3 +++ 4 files changed, 6 insertions(+), 0 deletions(-) diff --git a/configure.in.in b/configure.in.in index 9e84749..10adb2b 100644 --- a/configure.in.in +++ b/configure.in.in @@ -156,6 +156,7 @@ dnl *** Check for required packages *** dnl *********************************** XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.6.4]) XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.6.0]) +XDT_CHECK_PACKAGE([X11], [x11]) XDT_CHECK_PACKAGE([GTHREAD], [gthread-2.0], [2.6.4]) XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.2.2]) 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..e670d7f 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 = \ + $(X11_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