[Xfce4-commits] <ristretto:ristretto-0.0> Fix build with --no-add-needed Add -lX11 to LDADD in Makefile.am

Stephan Arts noreply at xfce.org
Sun Oct 23 19:28:24 CEST 2011


Updating branch refs/heads/ristretto-0.0
         to 646e66be08ff98162890de9ed184393f4be6bd13 (commit)
       from 6e3d700f5a4183e0cdce29d15efc3821e6882d02 (commit)

commit 646e66be08ff98162890de9ed184393f4be6bd13
Author: Stephan Arts <stephan at xfce.org>
Date:   Tue Jul 13 18:58:44 2010 +0200

    Fix build with --no-add-needed
    Add -lX11 to LDADD in Makefile.am

 ChangeLog       |    3 +++
 src/Makefile.am |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 6e03446..5a979e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2010-07-13 Stephan Arts <stephan at xfce.org>
+	* src/Makefile.am: Add -lX11 to LDADD, fixes --no-add-needed build
+
 2010-07-12 Stephan Arts <stephan at xfce.org>
 
 	* src/main_window.c, 
diff --git a/src/Makefile.am b/src/Makefile.am
index 814eb79..8c8a376 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -41,7 +41,7 @@ ristretto_LDADD = \
 	$(CAIRO_LIBS) \
 	$(XFCONF_LIBS) \
 	$(LIBXFCE4UTIL_LIBS) \
-	$(LIBXFCEGUI4_LIBS)
+	$(LIBXFCEGUI4_LIBS) -lX11
 
 INCLUDES = \
 	-I${top_srcdir}


More information about the Xfce4-commits mailing list