File wxPython-platlib.patch of Package python-wxWidgets-2_9

--- wxPython/config.py
+++ wxPython/config.py
@@ -48,6 +48,8 @@ import distutils.command.clean
 
 from cfg_version import *
 
+import distutils.sysconfig
+
 #----------------------------------------------------------------------
 # flags and values that affect this script
 #----------------------------------------------------------------------
@@ -691,7 +693,7 @@ def getExtraPath(shortVer=True, addOpts=
     if FLAVOUR:
         ep += "-" + FLAVOUR
 
-    return ep
+    return os.path.join(distutils.sysconfig.get_python_lib(True), ep)
 
 
 def getoutput(cmd):
@@ -724,7 +726,6 @@ def getVisCVersion():
 # the -arch and -isysroot args provided by Python.
 
 import distutils.unixccompiler
-import distutils.sysconfig
 from distutils.errors import DistutilsExecError, CompileError
 
 def _darwin_compiler_fixup(compiler_so, cc_args):
openSUSE Build Service is sponsored by