diff options
author | serge-sans-paille <serge.guelton@telecom-bretagne.eu> | 2019-12-04 17:02:57 +0100 |
---|---|---|
committer | Victor Stinner <vstinner@python.org> | 2019-12-04 17:02:57 +0100 |
commit | 7105319ada2e663659020cbe9fdf7ff38f421ab2 (patch) | |
tree | c01a6613af57aa0eeed510aaa21735e959196f13 /Python/dynamic_annotations.c | |
parent | ac0e1c2694bc199dbd073312145e3c09bee52cc4 (diff) | |
download | cpython-git-7105319ada2e663659020cbe9fdf7ff38f421ab2.tar.gz |
bpo-38634: Allow non-apple build to cope with libedit (GH-16986)
The readline module now detects if Python is linked to libedit at runtime
on all platforms. Previously, the check was only done on macOS.
If Python is used as a library by a binary linking to libedit, the linker
resolves the rl_initialize symbol required by the readline module against
libedit instead of libreadline, which leads to a segfault.
Take advantage of the existing supporting code to have readline module being
compatible with both situations.
Diffstat (limited to 'Python/dynamic_annotations.c')
0 files changed, 0 insertions, 0 deletions