Python recipe: Make openssl module optional

This commit is contained in:
akshayaurora 2015-08-07 22:44:44 +05:30
parent 46d24567bd
commit 296d331935
3 changed files with 3 additions and 1 deletions

View file

@ -52,4 +52,3 @@ pyexpat expat/xmlparse.c expat/xmlrole.c expat/xmltok.c pyexpat.c -I$(srcdir)/Mo
# Future (used by numpy)
future_builtins future_builtins.c
_ssl _ssl.c -DUSE_SSL -lssl -lcrypto

View file

@ -0,0 +1 @@
_ssl _ssl.c -DUSE_SSL -lssl -lcrypto

View file

@ -30,6 +30,8 @@ class PythonRecipe(Recipe):
self.apply_patch("xcompile.patch")
self.apply_patch("setuppath.patch")
self.append_file("ModulesSetup.mobile", "Modules/Setup.local")
if "openssl.build_all" in self.ctx.state:
self.append_file("ModulesSetup.openssl", 'Modules/Setup.local')
self.set_marker("patched")