]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/my_distutils.py
*** empty log message ***
[wxWidgets.git] / wxPython / my_distutils.py
index 47da51b1d7dec21f7d71f60a0a28e5858b122c7e..9d66065ff0c602013d9667ab78e08fdcedebea3e 100644 (file)
@@ -53,9 +53,9 @@ class MyMSVCCompiler(MSVCCompiler):
                 self.mkpath (os.path.dirname (obj))
 
                 if ext in self._c_extensions:
-                    input_opt = "/Tc" + src
+                    input_opt = "/Tc" + os.path.abspath(src)
                 elif ext in self._cpp_extensions:
-                    input_opt = "/Tp" + src
+                    input_opt = "/Tp" + os.path.abspath(src)
                 elif ext in self._rc_extensions:
                     # compile .RC to .RES file
                     input_opt = src