mirror of
https://github.com/python/cpython
synced 2024-09-05 00:05:39 +00:00
bpo-43688: Support "make regen-limited-abi" in debug mode (GH-25133)
This commit is contained in:
parent
3359cab038
commit
9bb5658bd1
|
@ -91,11 +91,6 @@ def check_library(stable_abi_file, library, abi_funcs, dynamic=False):
|
|||
|
||||
|
||||
def generate_limited_api_symbols(args):
|
||||
if hasattr(sys, "gettotalrefcount"):
|
||||
print(
|
||||
"Stable ABI symbols cannot be generated from a debug build", file=sys.stderr
|
||||
)
|
||||
sys.exit(1)
|
||||
library = sysconfig.get_config_var("LIBRARY")
|
||||
ldlibrary = sysconfig.get_config_var("LDLIBRARY")
|
||||
if ldlibrary != library:
|
||||
|
|
Loading…
Reference in a new issue