--- daemon/Makefile.in.old	2002-06-20 20:23:26.000000000 +0100
+++ daemon/Makefile.in	2002-06-20 20:23:52.000000000 +0100
@@ -269,7 +269,7 @@
 
 gdm$(EXEEXT): $(gdm_OBJECTS) $(gdm_DEPENDENCIES)
 	@rm -f gdm$(EXEEXT)
-	$(LINK) $(gdm_LDFLAGS) $(gdm_OBJECTS) $(gdm_LDADD) $(LIBS)
+	$(LINK) $(LIBS) $(gdm_LDFLAGS) $(gdm_OBJECTS) $(gdm_LDADD)
 
 tags: TAGS
 
