diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl
index d0d8a7bf36..2d35ed97f6 100644
--- a/build/bakefiles/common.bkl
+++ b/build/bakefiles/common.bkl
@@ -65,17 +65,17 @@
- wx
+ wx_base
wx_$(PORTNAME)$(WXUNIVNAME)
-$(WXVER_MAJOR).$(WXVER_MINOR)
- wx$(WXVER_MAJOR)$(WXVER_MINOR)
+ wxbase$(WXVER_MAJOR)$(WXVER_MINOR)
wx$(PORTNAME)$(WXUNIVNAME)$(WXVER_MAJOR)$(WXVER_MINOR)
- wx$(WXVER_MAJOR)$(WXVER_MINOR)
+ wxbase$(WXVER_MAJOR)$(WXVER_MINOR)
$(WXNAMEPREFIX)
diff --git a/build/bakefiles/wxwin.py b/build/bakefiles/wxwin.py
index 1d83108f64..02aa76234e 100644
--- a/build/bakefiles/wxwin.py
+++ b/build/bakefiles/wxwin.py
@@ -29,8 +29,8 @@ def mk_wxid(id):
# List of library names/ids for categories with different names:
-LIBS_BASE = ['base']
-LIBS_GUI = ['core', 'html']
+LIBS_NOGUI = ['']
+LIBS_GUI = ['core', 'html']
def mkLibName(wxid):
"""Returns string that can be used as library name, including name
@@ -38,7 +38,9 @@ def mkLibName(wxid):
with variables defined in common.bkl!"""
if wxid == 'mono':
return '$(WXNAMEPREFIXGUI)$(WXNAMESUFFIX)$(WXVERSIONTAG)'
- if wxid in LIBS_BASE:
+ if wxid == 'base':
+ return '$(WXNAMEPREFIX)$(WXNAMESUFFIX)$(WXVERSIONTAG)'
+ if wxid in LIBS_NOGUI:
return '$(WXNAMEPREFIX)$(WXNAMESUFFIX)_%s$(WXVERSIONTAG)' % wxid
return '$(WXNAMEPREFIXGUI)$(WXNAMESUFFIX)_%s$(WXVERSIONTAG)' % wxid
@@ -48,7 +50,9 @@ def mkDllName(wxid):
with variables defined in common.bkl!"""
if wxid == 'mono':
return '$(WXDLLNAMEPREFIXGUI)$(WXNAMESUFFIX)$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)'
- if wxid in LIBS_BASE:
+ if wxid == 'base':
+ return '$(WXDLLNAMEPREFIX)$(WXNAMESUFFIX)$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)'
+ if wxid in LIBS_NOGUI:
return '$(WXDLLNAMEPREFIX)$(WXNAMESUFFIX)_%s$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)' % wxid
return '$(WXDLLNAMEPREFIXGUI)$(WXNAMESUFFIX)_%s$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)' % wxid