changes to build python for target

This commit is contained in:
Joe deBlaquiere 2015-10-27 14:34:25 -04:00
parent 6443c155f1
commit 88b5b22e67
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,8 @@ class PythonRecipe(Recipe):
"LDFLAGS={} -undefined dynamic_lookup".format(build_env["LDFLAGS"]),
"--without-pymalloc",
"--disable-toolbox-glue",
"--host={}-apple-darwin".format(arch),
"--target={}-apple-ios7.0".format(arch),
"--host=x86_64-apple-darwin",
"--prefix=/python",
"--with-system-ffi",
"--without-doc-strings",

View file

@ -161,7 +161,6 @@ class Arch(object):
] + include_dirs)
env["LDFLAGS"] = " ".join([
"-arch", self.arch,
"-ios_version_min", "7.0",
"--sysroot", self.sysroot,
"-L{}/{}".format(self.ctx.dist_dir, "lib"),
"-lsqlite3",