--- src/Makefile.in.org	2009-12-07 06:34:52.000000000 -0800
+++ src/Makefile.in	2010-02-17 18:37:41.000000000 -0800
@@ -370,7 +370,7 @@
 	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
 syslog-ng$(EXEEXT): $(syslog_ng_OBJECTS) $(syslog_ng_DEPENDENCIES) 
 	@rm -f syslog-ng$(EXEEXT)
-	$(LINK) $(syslog_ng_OBJECTS) $(syslog_ng_LDADD) $(LIBS)
+	$(LINK) $(syslog_ng_OBJECTS) $(syslog_ng_LDADD) $(LIBS) globals.o
 syslog-ng-wrapper$(EXEEXT): $(syslog_ng_wrapper_OBJECTS) $(syslog_ng_wrapper_DEPENDENCIES) 
 	@rm -f syslog-ng-wrapper$(EXEEXT)
 	$(LINK) $(syslog_ng_wrapper_OBJECTS) $(syslog_ng_wrapper_LDADD) $(LIBS)
