Making lynx cross-build with widechar support

svn path=/nixpkgs/branches/stdenv-updates/; revision=24242
This commit is contained in:
Lluís Batlle i Rossell 2010-10-12 18:31:11 +00:00
parent 18372e5a56
commit 3c29a00612

View File

@ -17,6 +17,11 @@ stdenv.mkDerivation {
buildInputs = [ ncurses ] ++ stdenv.lib.optional sslSupport openssl;
buildNativeInputs = [ ncurses ];
crossAttrs = {
configureFlags = "--enable-widec" +
(if sslSupport then " --with-ssl" else "");
};
meta = {
homepage = http://lynx.isc.org/;
description = "A text-mode web browser";