mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
When _locale became a built-in module it was discovered that `-lintl
` was not
added as a build flag as needed. This then led to the discovery that OS X framework builds did not have the LIBS var to pick up this flag. Fixes issue #6154. Thanks to Benjamin Peterson, Roumen Petrov, Erick Tryzelaar, Mark Dickinson, Evan Behar, and Ronald Oussoren for helping.
This commit is contained in:
parent
b7a515609d
commit
c6d936e23f
4 changed files with 14 additions and 5 deletions
|
@ -1819,8 +1819,9 @@ fi
|
|||
|
||||
# check if we need libintl for locale functions
|
||||
AC_CHECK_LIB(intl, textdomain,
|
||||
AC_DEFINE(WITH_LIBINTL, 1,
|
||||
[Define to 1 if libintl is needed for locale functions.]))
|
||||
[AC_DEFINE(WITH_LIBINTL, 1,
|
||||
[Define to 1 if libintl is needed for locale functions.])
|
||||
LIBS="-lintl $LIBS"])
|
||||
|
||||
# checks for system dependent C++ extensions support
|
||||
case "$ac_sys_system" in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue