wxPython: Fix installing headers.

This commit is contained in:
Alexpux
2014-10-01 12:22:55 +04:00
parent 36f3537d87
commit 19e345c25c
2 changed files with 22 additions and 8 deletions

View File

@@ -26,6 +26,15 @@
value = os.popen(cmd, 'r').read()[:-1]
return value
@@ -511,7 +511,7 @@
distutils.command.install_headers.install_headers.finalize_options(self)
def run(self):
- if os.name == 'nt':
+ if os.name == 'nt' and not "MSYSTEM" in os.environ:
return
headers = self.distribution.headers
if not headers:
@@ -602,7 +602,7 @@
def findLib(name, libdirs):
name = makeLibName(name)[0]