Browse Source
bpo-43688: Support "make regen-limited-abi" in debug mode (GH-25133)
pull/25469/head
Victor Stinner
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
5 deletions
-
Tools/scripts/stable_abi.py
|
|
|
@ -91,11 +91,6 @@ https://www.python.org/dev/peps/pep-0384/ |
|
|
|
|
|
|
|
|
|
|
|
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: |
|
|
|
|