[wx] Unreviewed build fixes for recent changes in WebKit trunk and wxMSW.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85332 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/wscript b/wscript
index e508cbe..c6771f0 100644
--- a/wscript
+++ b/wscript
@@ -28,6 +28,7 @@
 import Options
 
 from settings import *
+import wxpresets
 
 import TaskGen
 from TaskGen import taskgen, feature, after
@@ -335,7 +336,11 @@
             
         if building_on_win32:
             for wxlib in bld.env['LIB_WX']:
+                wx_version = wxpresets.get_wx_version(os.environ['WXWIN'])
+                if int(wx_version[1]) % 2 == 1:
+                    wxlib = wxlib.replace(''.join(wx_version[:2]), ''.join(wx_version))
                 wxlibname = os.path.join(bld.env['LIBPATH_WX'][0], wxlib + '_vc.dll')
+                print "Copying %s" % wxlibname
                 if os.path.exists(wxlibname):
                     bld.install_files(webcore.install_path, [wxlibname])