Python recipe: Make openssl module optional
This commit is contained in:
parent
46d24567bd
commit
296d331935
3 changed files with 3 additions and 1 deletions
|
@ -52,4 +52,3 @@ pyexpat expat/xmlparse.c expat/xmlrole.c expat/xmltok.c pyexpat.c -I$(srcdir)/Mo
|
||||||
# Future (used by numpy)
|
# Future (used by numpy)
|
||||||
future_builtins future_builtins.c
|
future_builtins future_builtins.c
|
||||||
|
|
||||||
_ssl _ssl.c -DUSE_SSL -lssl -lcrypto
|
|
||||||
|
|
1
recipes/python/ModulesSetup.openssl
Normal file
1
recipes/python/ModulesSetup.openssl
Normal file
|
@ -0,0 +1 @@
|
||||||
|
_ssl _ssl.c -DUSE_SSL -lssl -lcrypto
|
|
@ -30,6 +30,8 @@ class PythonRecipe(Recipe):
|
||||||
self.apply_patch("xcompile.patch")
|
self.apply_patch("xcompile.patch")
|
||||||
self.apply_patch("setuppath.patch")
|
self.apply_patch("setuppath.patch")
|
||||||
self.append_file("ModulesSetup.mobile", "Modules/Setup.local")
|
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")
|
self.set_marker("patched")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue