summaryrefslogtreecommitdiff
path: root/calendar/backends/weather
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2005-08-10 21:29:26 +0000
committerTor Lillqvist <tml@src.gnome.org>2005-08-10 21:29:26 +0000
commitf6671a511a7b77d59432595b1cf29acdf5401208 (patch)
tree884c6f4ac81ff5f68c6ffad8552d94673a68e6f6 /calendar/backends/weather
parent3b9f749dddf559951c504db211155f19de2c5aee (diff)
downloadevolution-data-server-f6671a511a7b77d59432595b1cf29acdf5401208.tar.gz
Link with all used libraries. Use -no-undefined on Win32.
2005-08-11 Tor Lillqvist <tml@novell.com> * backends/weather/Makefile.am: Link with all used libraries. Use -no-undefined on Win32. * backends/weather/e-cal-backend-weather-factory.c: Drop inclusion of <pthread.h>, this file does not use any pthread API.
Diffstat (limited to 'calendar/backends/weather')
-rw-r--r--calendar/backends/weather/Makefile.am10
-rw-r--r--calendar/backends/weather/e-cal-backend-weather-factory.c1
2 files changed, 7 insertions, 4 deletions
diff --git a/calendar/backends/weather/Makefile.am b/calendar/backends/weather/Makefile.am
index 30b979383..21aef5d21 100644
--- a/calendar/backends/weather/Makefile.am
+++ b/calendar/backends/weather/Makefile.am
@@ -26,12 +26,16 @@ libecalbackendweather_la_SOURCES = \
e-weather-source-ccf.c \
e-weather-source-ccf.h
-libecalbackendweather_la_LIBADD = \
- $(top_builddir)/calendar/libedata-cal/libedata-cal-1.2.la \
+libecalbackendweather_la_LIBADD = \
+ $(top_builddir)/calendar/libecal/libecal-1.2.la \
+ $(top_builddir)/calendar/libedata-cal/libedata-cal-1.2.la \
+ $(top_builddir)/calendar/libical/src/libical/libical-evolution.la \
+ $(top_builddir)/libedataserver/libedataserver-1.2.la \
+ $(EVOLUTION_CALENDAR_LIBS) \
$(SOUP_LIBS)
libecalbackendweather_la_LDFLAGS = \
- -module -avoid-version
+ -module -avoid-version $(NO_UNDEFINED)
weatherdata_in_files = Locations.xml.in
weatherdata_DATA = $(weatherdata_in_files:.xml.in=.xml)
diff --git a/calendar/backends/weather/e-cal-backend-weather-factory.c b/calendar/backends/weather/e-cal-backend-weather-factory.c
index 03cd4ddb7..325dbcb42 100644
--- a/calendar/backends/weather/e-cal-backend-weather-factory.c
+++ b/calendar/backends/weather/e-cal-backend-weather-factory.c
@@ -22,7 +22,6 @@
#include <config.h>
#endif
-#include <pthread.h>
#include <string.h>
#include "e-cal-backend-weather-factory.h"