summaryrefslogtreecommitdiff
path: root/Python/strdup.c
diff options
context:
space:
mode:
authorserge-sans-paille <serge.guelton@telecom-bretagne.eu>2019-12-04 17:02:57 +0100
committerVictor Stinner <vstinner@python.org>2019-12-04 17:02:57 +0100
commit7105319ada2e663659020cbe9fdf7ff38f421ab2 (patch)
treec01a6613af57aa0eeed510aaa21735e959196f13 /Python/strdup.c
parentac0e1c2694bc199dbd073312145e3c09bee52cc4 (diff)
downloadcpython-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/strdup.c')
0 files changed, 0 insertions, 0 deletions