From bcaea92a1217f6adb79bdb400f2bfffef97955ed Mon Sep 17 00:00:00 2001 From: Danny Wilson Date: Wed, 20 Feb 2013 09:20:07 +0000 Subject: Attempt at getting GCC 4.7 compiled on Illumos... No success yet :-( --- pkgs/development/libraries/gettext/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/development/libraries/gettext') diff --git a/pkgs/development/libraries/gettext/default.nix b/pkgs/development/libraries/gettext/default.nix index 5468c9f2336..113093a8067 100644 --- a/pkgs/development/libraries/gettext/default.nix +++ b/pkgs/development/libraries/gettext/default.nix @@ -10,6 +10,8 @@ stdenv.mkDerivation (rec { patches = [ ./no-gets.patch ]; + LDFLAGS = if stdenv.isSunOS then "-lsec -lavl" else ""; + configureFlags = [ "--disable-csharp" ] ++ (stdenv.lib.optionals stdenv.isCygwin [ # We have a static libiconv, so we can only build the static lib. -- cgit 1.4.1