libffi/hostlibffi: force the binary to be python2.7, as by default osx don't have an alias for python2. This will allow the build system to use system python2.7 if brew python2 is not installed.
Closes #309
This commit is contained in:
parent
6f295fd23f
commit
cfc9dc1c29
2 changed files with 4 additions and 2 deletions
|
@ -42,7 +42,8 @@ class LibffiRecipe(Recipe):
|
|||
"generate-darwin-source-and-headers.py",
|
||||
"_generate-darwin-source-and-headers.py")
|
||||
shprint(sh.touch, "generate-darwin-source-and-headers.py")
|
||||
shprint(sh.python2, "_generate-darwin-source-and-headers.py", "--only-osx")
|
||||
python27 = sh.Command("python2.7")
|
||||
shprint(python27, "_generate-darwin-source-and-headers.py", "--only-osx")
|
||||
shprint(sh.xcodebuild,
|
||||
self.ctx.concurrent_xcodebuild,
|
||||
"ONLY_ACTIVE_ARCH=NO",
|
||||
|
|
|
@ -31,7 +31,8 @@ class LibffiRecipe(Recipe):
|
|||
"generate-darwin-source-and-headers.py",
|
||||
"_generate-darwin-source-and-headers.py")
|
||||
shprint(sh.touch, "generate-darwin-source-and-headers.py")
|
||||
shprint(sh.python2, "_generate-darwin-source-and-headers.py", "--only-ios")
|
||||
python27 = sh.Command("python2.7")
|
||||
shprint(python27, "_generate-darwin-source-and-headers.py", "--only-ios")
|
||||
shprint(sh.xcodebuild, self.ctx.concurrent_xcodebuild,
|
||||
"ONLY_ACTIVE_ARCH=NO",
|
||||
"ARCHS={}".format(arch.arch),
|
||||
|
|
Loading…
Reference in a new issue