mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
python: Remove --with-wctype-functions flag
This causes functions like string.upper() to misbehave on non-ASCII characters. Upstream also advises against it: http://bugs.python.org/issue9210 http://bugs.python.org/issue11309
This commit is contained in:
parent
b08e12b37a
commit
83ec7aa92f
@ -45,7 +45,7 @@ let
|
||||
C_INCLUDE_PATH = concatStringsSep ":" (map (p: "${p}/include") buildInputs);
|
||||
LIBRARY_PATH = concatStringsSep ":" (map (p: "${p}/lib") buildInputs);
|
||||
|
||||
configureFlags = "--enable-shared --with-threads --enable-unicode --with-wctype-functions";
|
||||
configureFlags = "--enable-shared --with-threads --enable-unicode";
|
||||
|
||||
preConfigure =
|
||||
''
|
||||
|
@ -56,7 +56,7 @@ let
|
||||
C_INCLUDE_PATH = concatStringsSep ":" (map (p: "${p}/include") buildInputs);
|
||||
LIBRARY_PATH = concatStringsSep ":" (map (p: "${p}/lib") buildInputs);
|
||||
|
||||
configureFlags = "--enable-shared --with-threads --enable-unicode --with-wctype-functions";
|
||||
configureFlags = "--enable-shared --with-threads --enable-unicode";
|
||||
|
||||
preConfigure = "${ensurePurity}" + optionalString stdenv.isCygwin
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user