mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Fix build environment when building with MSVC 2015 32 bit
This commit is contained in:
committed by
Mathew Sutcliffe
parent
49cd6a117f
commit
07ad4e6656
@@ -214,7 +214,11 @@ class MSVCBuilder(Builder):
|
||||
def _specific_prepare(self):
|
||||
os.environ['PATH'] += os.pathsep + self._get_externals_path()
|
||||
os.environ['PATH'] += os.pathsep + 'C:/Program Files/7-Zip'
|
||||
vs_env = get_vs_env('14.0', 'amd64')
|
||||
if self.word_size == '32':
|
||||
vs_env = get_vs_env('14.0', 'x86')
|
||||
else:
|
||||
vs_env = get_vs_env('14.0', 'amd64')
|
||||
|
||||
os.environ.update(vs_env)
|
||||
|
||||
def _get_qmake_spec(self):
|
||||
|
||||
Reference in New Issue
Block a user