* add the_mgt's patch to Makefile.in; this should fix --as-needed
authorWilfried Göesgens <willi@citadel.org>
Sat, 3 Oct 2009 20:12:00 +0000 (20:12 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sat, 3 Oct 2009 20:12:00 +0000 (20:12 +0000)
webcit/Makefile.in

index 4444b71050df7b4d0fb7cf2bead50cd10368f95d..d2ab5a0c52dc75b3b8673e4d7b96b65b7057562a 100644 (file)
@@ -37,8 +37,8 @@ distclean: clean
                $(srcdir)/TAGS
 
 setup: setup.o gettext.o
-       $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) $(SETUP_LIBS) \
-       gettext.o setup.o -o setup
+       $(CC) $(LDFLAGS) $(LIBOBJS) gettext.o setup.o -o setup \
+       $(LIBS) $(SETUP_LIBS)
 
 webcit: webserver.o context_loop.o ical_dezonify.o \
        cookie_conversion.o locate_host.o floors.o summary.o \
@@ -55,7 +55,7 @@ webcit: webserver.o context_loop.o ical_dezonify.o \
        decode.o modules_init.o paramhandling.o utils.o \
        ical_maps.o ical_subst.o static.o \
        $(LIBOBJS)
-       $(CC) $(LDFLAGS) $(LIBOBJS) $(LIBS) \
+       $(CC) $(LDFLAGS) -o webcit $(LIBOBJS) \
        webserver.o context_loop.o cookie_conversion.o marchlist.o \
        webcit.o auth.o tcp_sockets.o mainmenu.o serv_func.o who.o listsub.o \
        roomops.o roomlist.o messages.o msg_renderers.o userlist.o paging.o sysmsgs.o \
@@ -68,7 +68,6 @@ webcit: webserver.o context_loop.o ical_dezonify.o \
        groupdav_put.o http_datestring.o setup_wizard.o fmt_date.o modules_init.o \
        gettext.o downloads.o addressbook_popup.o pushemail.o sysdep.o decode.o \
        paramhandling.o utils.o ical_maps.o ical_subst.o static.o \
-       -o webcit \
        $(LIBS)
 
 .c.o: