mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
libelf: Fix cross compilation
This commit is contained in:
parent
5fe4076683
commit
aaf008bda4
@ -9,10 +9,10 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
# For cross-compiling, native glibc is needed for the "gencat" program.
|
# For cross-compiling, native glibc is needed for the "gencat" program.
|
||||||
crossAttrs = {
|
crossAttrs = {
|
||||||
nativeBuildInputs = [ glibc ];
|
nativeBuildInputs = [ gettext glibc ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Libelf's custom NLS macros fail to determine the catalog file extension on
|
# 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.
|
# FIXME: Eventually make Gettext a build input on all platforms.
|
||||||
configureFlags = stdenv.lib.optional stdenv.isDarwin "--disable-nls";
|
configureFlags = stdenv.lib.optional stdenv.isDarwin "--disable-nls";
|
||||||
|
|
||||||
buildInputs = [ gettext ];
|
nativeBuildInputs = [ gettext ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "ELF object file access library";
|
description = "ELF object file access library";
|
||||||
|
Loading…
Reference in New Issue
Block a user