diff --git a/recipes/python/ModulesSetup b/recipes/python/ModulesSetup index 567de4b..02db3c5 100644 --- a/recipes/python/ModulesSetup +++ b/recipes/python/ModulesSetup @@ -50,3 +50,5 @@ 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 diff --git a/recipes/python/__init__.py b/recipes/python/__init__.py index 0c40576..2e0b3a3 100644 --- a/recipes/python/__init__.py +++ b/recipes/python/__init__.py @@ -7,7 +7,7 @@ import os class PythonRecipe(Recipe): version = "2.7.1" url = "https://www.python.org/ftp/python/{version}/Python-{version}.tar.bz2" - depends = ["hostpython", "libffi", ] + depends = ["hostpython", "libffi", "openssl"] library = "libpython2.7.a" pbx_libraries = ["libz", "libbz2", "libsqlite3"]