libelf: Disable native language support on Darwin.

svn path=/nixpkgs/trunk/; revision=27877
This commit is contained in:
Ludovic Courtès 2011-07-21 13:51:03 +00:00
parent 6e61ef2010
commit 6f5e72deed

View File

@ -24,9 +24,9 @@ stdenv.mkDerivation (rec {
// //
# Gettext is lacking from `stdenv' on Darwin, but not completely, so NLS # Libelf's custom NLS macros fail to determine the catalog file extension on
# support is enabled but eventually fails. # Darwin, so disable NLS for now.
# FIXME: Eventually make Gettext a build input on all platforms. # FIXME: Eventually make Gettext a build input on all platforms.
(if stdenv.isDarwin (if stdenv.isDarwin
then { buildInputs = [ gettext ]; } then { configureFlags = [ "--disable-nls" ]; }
else { })) else { }))