From b5c7b38f5ebbc84b5b80192db1743d3e1cdcf4c5 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 10 Dec 2020 18:39:17 +0100 Subject: bpo-42591: Export missing Py_FrozenMain() symbol (GH-23730) Export the Py_FrozenMain() function: fix a Python 3.9.0 regression. Python 3.9 uses -fvisibility=hidden and the function was not exported explicitly and so not exported. Add also Py_FrozenMain to the stable ABI on Windows. --- PC/python3dll.c | 1 + 1 file changed, 1 insertion(+) (limited to 'PC') diff --git a/PC/python3dll.c b/PC/python3dll.c index 27cc315de2..9eb81e36af 100644 --- a/PC/python3dll.c +++ b/PC/python3dll.c @@ -49,6 +49,7 @@ EXPORT_FUNC(Py_Exit) EXPORT_FUNC(Py_FatalError) EXPORT_FUNC(Py_Finalize) EXPORT_FUNC(Py_FinalizeEx) +EXPORT_FUNC(Py_FrozenMain) EXPORT_FUNC(Py_GenericAlias) EXPORT_FUNC(Py_GenericAliasType) EXPORT_FUNC(Py_GetArgcArgv) -- cgit v1.2.3-65-gdbad