mirror of https://github.com/python/cpython
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 @@ https://www.python.org/dev/peps/pep-0384/
|
||||||
|
|
||||||
|
|
||||||
def generate_limited_api_symbols(args):
|
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")
|
library = sysconfig.get_config_var("LIBRARY")
|
||||||
ldlibrary = sysconfig.get_config_var("LDLIBRARY")
|
ldlibrary = sysconfig.get_config_var("LDLIBRARY")
|
||||||
if ldlibrary != library:
|
if ldlibrary != library:
|
||||||
|
|
Loading…
Reference in New Issue