tell hostpython where to find openssl

This commit is contained in:
Robert Niederreiter 2016-10-14 10:04:15 +02:00
parent 228c4c320d
commit c34f792a17

View file

@ -62,6 +62,11 @@ class HostpythonRecipe(Recipe):
"--sysroot={}".format(sdk_path),
"-I{}".format(join(self.ctx.dist_dir, "hostlibffi", "usr", "local", "include"))
])
if "openssl.build_all" in self.ctx.state:
build_env["CFLAGS"] += " -I{}".format(join(self.ctx.dist_dir, "include",
"x86_64", "openssl"))
configure = sh.Command(join(self.build_dir, "configure"))
shprint(configure,
"--prefix={}".format(join(self.ctx.dist_dir, "hostpython")),