diff options
author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2016-06-01 23:00:28 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2016-06-11 04:13:27 +0300 |
commit | aaf008bda42e51c48c72d95f1e6dbd548c0b18c2 (patch) | |
tree | 8de2e02a73d1b9b342e0ea8591252a00e9c09059 /pkgs/development/libraries/libelf | |
parent | 5fe4076683cef025f366b0723b170b10140ce211 (diff) | |
download | nixpkgs-aaf008bda42e51c48c72d95f1e6dbd548c0b18c2.tar nixpkgs-aaf008bda42e51c48c72d95f1e6dbd548c0b18c2.tar.gz nixpkgs-aaf008bda42e51c48c72d95f1e6dbd548c0b18c2.tar.bz2 nixpkgs-aaf008bda42e51c48c72d95f1e6dbd548c0b18c2.tar.lz nixpkgs-aaf008bda42e51c48c72d95f1e6dbd548c0b18c2.tar.xz nixpkgs-aaf008bda42e51c48c72d95f1e6dbd548c0b18c2.tar.zst nixpkgs-aaf008bda42e51c48c72d95f1e6dbd548c0b18c2.zip |
libelf: Fix cross compilation
Diffstat (limited to 'pkgs/development/libraries/libelf')
-rw-r--r-- | pkgs/development/libraries/libelf/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/libelf/default.nix b/pkgs/development/libraries/libelf/default.nix index 623256bb6b7..12588617d4a 100644 --- a/pkgs/development/libraries/libelf/default.nix +++ b/pkgs/development/libraries/libelf/default.nix @@ -9,10 +9,10 @@ stdenv.mkDerivation rec { }; doCheck = true; - + # For cross-compiling, native glibc is needed for the "gencat" program. crossAttrs = { - nativeBuildInputs = [ glibc ]; + nativeBuildInputs = [ gettext glibc ]; }; # Libelf's custom NLS macros fail to determine the catalog file extension on @@ -20,7 +20,7 @@ stdenv.mkDerivation rec { # FIXME: Eventually make Gettext a build input on all platforms. configureFlags = stdenv.lib.optional stdenv.isDarwin "--disable-nls"; - buildInputs = [ gettext ]; + nativeBuildInputs = [ gettext ]; meta = { description = "ELF object file access library"; |