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