boost: support libiconv, also on non-glibc platforms
This commit is contained in:
parent
2b0d725854
commit
1bfc3a8965
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, icu, expat, zlib, bzip2, python, fixDarwinDylibNames
|
{ stdenv, fetchurl, icu, expat, zlib, bzip2, python, fixDarwinDylibNames, libiconv
|
||||||
, toolset ? if stdenv.cc.isClang then "clang" else null
|
, toolset ? if stdenv.cc.isClang then "clang" else null
|
||||||
, enableRelease ? true
|
, enableRelease ? true
|
||||||
, enableDebug ? false
|
, enableDebug ? false
|
||||||
@ -151,7 +151,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
buildInputs = [ expat zlib bzip2 ]
|
buildInputs = [ expat zlib bzip2 libiconv ]
|
||||||
++ stdenv.lib.optionals (! stdenv ? cross) [ python icu ]
|
++ stdenv.lib.optionals (! stdenv ? cross) [ python icu ]
|
||||||
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user