diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl
index 21b81b57e8..2ac0c1a132 100644
--- a/build/bakefiles/common.bkl
+++ b/build/bakefiles/common.bkl
@@ -523,6 +523,10 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
$(WX_VERSION)
$(WXSOVERSION)
$(WXMACVERSION)
+
+
+ WXDLLNAME=$(WXDLLNAME)
+ src/msw/version.rc