diff --git a/recipes/python/__init__.py b/recipes/python/__init__.py index 43568ef..48c73b2 100644 --- a/recipes/python/__init__.py +++ b/recipes/python/__init__.py @@ -37,11 +37,13 @@ class PythonRecipe(Recipe): "--disable-toolbox-glue", "--host={}-apple-darwin".format(arch), "--prefix=/python", + "--with-system-ffi", "--without-doc-strings", _env=build_env) self._patch_pyconfig() self.apply_patch("ctypes_duplicate.patch") + self.apply_patch("ctypes_duplicate_longdouble.patch") shprint(sh.make, "-j4", "CROSS_COMPILE_TARGET=yes", diff --git a/recipes/python/ctypes_duplicate_longdouble.patch b/recipes/python/ctypes_duplicate_longdouble.patch new file mode 100644 index 0000000..61cb1fb Binary files /dev/null and b/recipes/python/ctypes_duplicate_longdouble.patch differ