mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
- Issue #17754: Make ctypes.util.find_library() independent of the locale.
This commit is contained in:
commit
bcaddf6382
2 changed files with 3 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ def _findLib_gcc(name):
|
|||
fdout, ccout = tempfile.mkstemp()
|
||||
os.close(fdout)
|
||||
cmd = 'if type gcc >/dev/null 2>&1; then CC=gcc; elif type cc >/dev/null 2>&1; then CC=cc;else exit 10; fi;' \
|
||||
'$CC -Wl,-t -o ' + ccout + ' 2>&1 -l' + name
|
||||
'LANG=C LC_ALL=C $CC -Wl,-t -o ' + ccout + ' 2>&1 -l' + name
|
||||
try:
|
||||
f = os.popen(cmd)
|
||||
try:
|
||||
|
|
|
|||
|
|
@ -88,6 +88,8 @@ Core and Builtins
|
|||
Library
|
||||
-------
|
||||
|
||||
- Issue #17754: Make ctypes.util.find_library() independent of the locale.
|
||||
|
||||
- Issue #17968: Fix memory leak in os.listxattr().
|
||||
|
||||
- Issue #17606: Fixed support of encoded byte strings in the XMLGenerator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue