Skip to content

[3.14] gh-155911: Fix curses detection with libraries in LIBS (GH-156130) - #156224

Merged
serhiy-storchaka merged 1 commit into
python:3.14from
serhiy-storchaka:backport-155911-3.14
Aug 22, 2026
Merged

[3.14] gh-155911: Fix curses detection with libraries in LIBS (GH-156130)#156224
serhiy-storchaka merged 1 commit into
python:3.14from
serhiy-storchaka:backport-155911-3.14

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Aug 22, 2026

Copy link
Copy Markdown
Member

Backport of GH-156130.

AC_SEARCH_LIBS tries linking with no extra library first, so a curses library already in LIBS made the search report none required, which then became the module's link flag.

--with-curses does not exist on this branch, so the NEWS entry mentions only the LIBS half.

…ythonGH-156130)

AC_SEARCH_LIBS tries linking with no extra library first, so a curses
library already in LIBS made the search report "none required", which
then became the module's link flag.  Search with only the libraries the
module is linked with.
(cherry picked from commit f74cdf8)

Co-authored-by: Shamil <ashm.tech@proton.me>
@serhiy-storchaka
serhiy-storchaka merged commit 90235cb into python:3.14 Aug 22, 2026
47 of 50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant