3
0
Fork 0
forked from mirrors/nixpkgs

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
# support is enabled but eventually fails.
# Libelf's custom NLS macros fail to determine the catalog file extension on
# Darwin, so disable NLS for now.
# FIXME: Eventually make Gettext a build input on all platforms.
(if stdenv.isDarwin
then { buildInputs = [ gettext ]; }
then { configureFlags = [ "--disable-nls" ]; }
else { }))