diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl
index 46b2b7c68d..860205146c 100644
--- a/build/bakefiles/common.bkl
+++ b/build/bakefiles/common.bkl
@@ -256,8 +256,10 @@
$(WXLIBNAME)
- src/msw/dummy.cpp
- src/msw/dummy.cpp
+ $(WXTOPDIR)src/msw/dummy.cpp
+
+ $(WXTOPDIR)src/msw/dummy.cpp
+
wx/wxprec.h
on