Package: libgweather
Version: 2.30.3-1
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch
User: peter.fritzs...@gmx.de
Usertags: no-add-needed

Fix FTBFS with ld --no-add-needed
--- ./libgweather/Makefile.am~	2010-07-02 11:53:01.000000000 +0200
+++ ./libgweather/Makefile.am	2010-10-07 19:20:21.052108626 +0200
@@ -51,6 +51,7 @@
 libgweather_la_LIBADD = \
 	-lm		\
 	$(GTK_LIBS)	\
+	$(GLIB_LIBS) \
 	$(LIBXML_LIBS)	\
 	$(LIBSOUP_LIBS)	\
 	$(GCONF_LIBS) \
@@ -88,6 +89,7 @@
 test_metar_LDADD = \
 	$(LIBSOUP_LIBS)	\
 	$(REGEX_LIBS) \
+	$(GTK_LIBS) \
 	libgweather.la
 
 test_locations_SOURCES = test_locations.c
@@ -100,7 +102,7 @@
 	$(GNOME_VFS_APPLETS_CFLAGS)	\
 	-DG_LOG_DOMAIN=\"GWeather\"
 
-test_locations_LDADD = libgweather.la
+test_locations_LDADD = $(GTK_LIBS) libgweather.la
 
 test_sun_moon_SOURCES = \
 	test_sun_moon.c
@@ -115,6 +117,7 @@
 
 test_sun_moon_LDADD = \
 	$(LIBSOUP_LIBS)	\
+	$(GTK_LIBS) \
 	libgweather.la
 
 noinst_HEADERS = weather-priv.h gweather-win32.h

Reply via email to