Commit 77ce915c authored by doko's avatar doko

- Issue #17754: Make ctypes.util.find_library() independent of the locale.

parent 3ce682c8
......@@ -93,7 +93,7 @@ elif os.name == "posix":
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:
......
......@@ -12,6 +12,7 @@ Core and Builtins
Library
-------
- Issue #17754: Make ctypes.util.find_library() independent of the locale.
What's New in Python 2.7.5?
===========================
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment