--- platform/emulator/Makefile.in.orig	2008-06-26 23:39:31.000000000 +1000
+++ platform/emulator/Makefile.in	2010-12-04 09:27:20.000000000 +1100
@@ -358,7 +358,7 @@
 	for d in $(SUBDIRS); do (cd $$d; $(MAKE) first); done
 
 emulator.exe: $(PRGDEP)
-	$(LD) $(EMULDFLAGS) $(LDFLAGS) $(LDOPT) -o $@ $(OBJS) $(LIBS)
+	$(LD) $(EMULDFLAGS) $(LDFLAGS) $(LDOPT) -o $@ $(OBJS) $(LIBS) libTk.a
 
 emulator.dll: $(PRGDEP)
 	$(DLLTOOL) --as $(AS) --output-def emulator0.def \
