diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl
index 99fd3ae4b0..d046fd6a58 100644
--- a/build/bakefiles/common.bkl
+++ b/build/bakefiles/common.bkl
@@ -41,7 +41,12 @@
_$(COMPILERORGCC)
-
+
+
+
+ _$(VENDOR)
+
+
d
@@ -69,6 +74,20 @@
wx$(PORTNAME)$(WXUNIVNAME)$(WXVER_MAJOR)$(WXVER_MINOR)
+
+ wx$(WXVER_MAJOR)$(WXVER_MINOR)
+ $(WXNAMEPREFIX)
+
+
+
+ wx$(PORTNAME)$(WXUNIVNAME)$(WXVER_MAJOR)$(WXVER_MINOR)
+
+ $(WXNAMEPREFIXGUI)
+
+
+
+ $(WXVERSIONTAG)
+
$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-$(WXVER_MAJOR).$(WXVER_MINOR)
diff --git a/build/bakefiles/config.bkl b/build/bakefiles/config.bkl
index cc0e95b2cb..72ac723d29 100644
--- a/build/bakefiles/config.bkl
+++ b/build/bakefiles/config.bkl
@@ -47,6 +47,22 @@
+
+
+
+
+
diff --git a/build/bakefiles/wxwin.py b/build/bakefiles/wxwin.py
index 3397dc54bd..f2e9b2fa75 100644
--- a/build/bakefiles/wxwin.py
+++ b/build/bakefiles/wxwin.py
@@ -36,10 +36,10 @@ def mkDllName(wxid):
suffixes, prefixes, version tags etc. This must be kept in sync
with variables defined in common.bkl!"""
if wxid == 'mono':
- return '$(WXNAMEPREFIXGUI)$(WXNAMESUFFIX)$(WXCOMPILER)$(WXVERSIONTAG)'
+ return '$(WXDLLNAMEPREFIXGUI)$(WXNAMESUFFIX)$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)'
if wxid in LIBS_BASE:
- return '$(WXNAMEPREFIX)$(WXNAMESUFFIX)_%s$(WXCOMPILER)$(WXVERSIONTAG)' % wxid
- return '$(WXNAMEPREFIXGUI)$(WXNAMESUFFIX)_%s$(WXCOMPILER)$(WXVERSIONTAG)' % wxid
+ return '$(WXDLLNAMEPREFIX)$(WXNAMESUFFIX)_%s$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)' % wxid
+ return '$(WXDLLNAMEPREFIXGUI)$(WXNAMESUFFIX)_%s$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)' % wxid
def libToLink(wxlibname):