Fix glib build on SmartOS

This commit is contained in:
Danny Wilson 2014-08-29 17:03:56 +02:00 committed by Danny Wilson
parent bb3d083d63
commit e0f732415f

View File

@ -65,7 +65,7 @@ stdenv.mkDerivation rec {
configureFlags =
optional stdenv.isDarwin "--disable-compile-warnings"
++ optional stdenv.isSunOS "--disable-modular-tests";
++ optional stdenv.isSunOS ["--disable-modular-tests" "--with-libiconv"];
NIX_CFLAGS_COMPILE = optionalString stdenv.isDarwin " -lintl"
+ optionalString stdenv.isSunOS " -DBSD_COMP";