[xchat-gnome] Bug 612340 - [Patch] Add missing libm & libX11 linking



commit 74296a4cb768e03273196dd7497f0329948abfe6
Author: Ritesh Khadgaray <khadgaray gmail com>
Date:   Wed Mar 10 14:53:45 2010 +0530

    Bug 612340 - [Patch] Add missing libm & libX11 linking
    
    XChat-GNOME fails to build due to a change DSO-linking semantics of the gcc
    compiler in Fedora. For more info please refer to:
    https://bugzilla.redhat.com/show_bug.cgi?id=564820
    http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking
    http://fedoraproject.org/wiki/UnderstandingDSOLinkChange

 src/fe-gnome/Makefile.am    |    1 +
 src/libcontrast/Makefile.am |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/fe-gnome/Makefile.am b/src/fe-gnome/Makefile.am
index 8faab84..1288ab9 100644
--- a/src/fe-gnome/Makefile.am
+++ b/src/fe-gnome/Makefile.am
@@ -113,6 +113,7 @@ xchat_gnome_CFLAGS = \
 	$(AM_CFLAGS)
 
 xchat_gnome_LDFLAGS = \
+	-lX11		\
 	-export-dynamic	\
 	$(AM_LDFLAGS)
 
diff --git a/src/libcontrast/Makefile.am b/src/libcontrast/Makefile.am
index 08daa14..857d9ab 100644
--- a/src/libcontrast/Makefile.am
+++ b/src/libcontrast/Makefile.am
@@ -12,6 +12,7 @@ libcontrast_la_CFLAGS =		\
 	$(AM_CFLAGS)
 
 libcontrast_la_LDFLAGS =	\
+	-lm			\
 	$(AM_LDFLAGS)		\
 	-static
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]