This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Jakub Piotr Cłapa
Recipients Jakub Piotr Cłapa
Date 2019-11-08.11:34:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1573212841.11.0.0393862101681.issue38743@roundup.psfhosted.org>
In-reply-to
Content
macOS needs to link to CoreFoundation for gettext to work. We reorder the autoconf tests so CoreFoundation is added to LIBS earlier and the -lintl test does not fail (which would exclude it from the final set of flags).

Btw. the whole test seems fishy: if compilation fails it does not mean -lintl is not needed, for this we would need to test a gettext function without -lintl. Basically two tests (with and without -lintl) are needed to properly diagnose the situation. The test in question had been written in 2009 as a fix for the https://bugs.python.org/issue6154 bug report.

This may be an issue only with non-Framework builds (since Homebrew manages to build a framework-based Python on macOS without any special shenigans) but I had not tested it.
History
Date User Action Args
2019-11-08 11:34:01Jakub Piotr Cłapasetrecipients: + Jakub Piotr Cłapa
2019-11-08 11:34:01Jakub Piotr Cłapasetmessageid: <1573212841.11.0.0393862101681.issue38743@roundup.psfhosted.org>
2019-11-08 11:34:00Jakub Piotr Cłapalinkissue38743 messages
2019-11-08 11:34:00Jakub Piotr Cłapacreate