[Xfce4-commits] <thunar:master> Fix broken compilation with -Wl, -z, defs -Wl, --as-needed.

Jannis Pohlmann noreply at xfce.org
Tue Oct 19 19:02:01 CEST 2010


Updating branch refs/heads/master
         to bb2b528df1fc548fcde6f62b0d4ed65754a87b2a (commit)
       from d7e367a4ce7b9ee0ea638fe1c3ff0e89ba9b1e7f (commit)

commit bb2b528df1fc548fcde6f62b0d4ed65754a87b2a
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Tue Oct 19 18:59:32 2010 +0200

    Fix broken compilation with -Wl,-z,defs -Wl,--as-needed.

 configure.in.in                      |    5 +++++
 plugins/thunar-wallpaper/Makefile.am |    4 +++-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/configure.in.in b/configure.in.in
index 8b1f2aa..b41c6ce 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -134,6 +134,11 @@ dnl *** Check for i18n support ***
 dnl ******************************
 XDT_I18N([@LINGUAS@])
 
+dnl *********************
+dnl *** Check for X11 ***
+dnl *********************
+XDT_CHECK_LIBX11_REQUIRE()
+
 dnl ***********************************
 dnl *** Check for required packages ***
 dnl ***********************************
diff --git a/plugins/thunar-wallpaper/Makefile.am b/plugins/thunar-wallpaper/Makefile.am
index d476325..9455670 100644
--- a/plugins/thunar-wallpaper/Makefile.am
+++ b/plugins/thunar-wallpaper/Makefile.am
@@ -19,6 +19,7 @@ thunar_wallpaper_plugin_la_CFLAGS =					\
 	$(EXO_CFLAGS)							\
 	$(GLIB_CFLAGS)							\
 	$(GTK_CFLAGS)							\
+	$(LIBX11_CFLAGS)						\
 	$(PLATFORM_CFLAGS)
 
 thunar_wallpaper_plugin_la_LDFLAGS =					\
@@ -32,7 +33,8 @@ thunar_wallpaper_plugin_la_LIBADD =					\
 	$(top_builddir)/thunarx/libthunarx-$(THUNARX_VERSION_API).la	\
 	$(EXO_LIBS)							\
 	$(GLIB_LIBS)							\
-	$(GTK_LIBS)
+	$(GTK_LIBS)							\
+	$(LIBX11_LIBS)
 	
 thunar_wallpaper_plugin_la_DEPENDENCIES =				\
 	$(top_builddir)/thunarx/libthunarx-$(THUNARX_VERSION_API).la



More information about the Xfce4-commits mailing list