Run configure using bash script
This commit is contained in:
parent
4718001a52
commit
0085c0b7db
|
@ -166,7 +166,7 @@ class BuildEnv:
|
|||
@property
|
||||
def configure_wrapper(self):
|
||||
try:
|
||||
yield self.configInfo.configure_wrapper
|
||||
yield from self.configInfo.configure_wrapper
|
||||
except AttributeError:
|
||||
pass
|
||||
|
||||
|
|
|
@ -25,6 +25,11 @@ class NativeConfigInfo(ConfigInfo):
|
|||
return f"{platform.machine()}-apple-darwin"
|
||||
return sysconfig.get_platform()
|
||||
|
||||
@property
|
||||
def configure_wrapper(self):
|
||||
if neutralEnv("distname") == "Windows":
|
||||
yield "C:\\Program Files\\Git\\bin\\bash.exe"
|
||||
|
||||
|
||||
class NativeDyn(NativeConfigInfo):
|
||||
name = "native_dyn"
|
||||
|
|
|
@ -68,7 +68,7 @@ class WasmConfigInfo(ConfigInfo):
|
|||
|
||||
@property
|
||||
def configure_wrapper(self):
|
||||
return "emconfigure"
|
||||
yield "emconfigure"
|
||||
|
||||
@property
|
||||
def make_wrapper(self):
|
||||
|
|
Loading…
Reference in New Issue