bpo-43688: Support "make regen-limited-abi" in debug mode (GH-25133)

This commit is contained in:
Victor Stinner 2021-04-02 16:46:08 +02:00 committed by GitHub
parent 3359cab038
commit 9bb5658bd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: