diffutils: Enable cross-compilation
This commit is contained in:
parent
6f4cfe0570
commit
946c1b26fa
|
@ -17,7 +17,8 @@ stdenv.mkDerivation rec {
|
||||||
configureFlags =
|
configureFlags =
|
||||||
# "pr" need not be on the PATH as a run-time dep, so we need to tell
|
# "pr" need not be on the PATH as a run-time dep, so we need to tell
|
||||||
# configure where it is. Covers the cross and native case alike.
|
# configure where it is. Covers the cross and native case alike.
|
||||||
stdenv.lib.optional (coreutils != null) "PR_PROGRAM=${coreutils}/bin/pr";
|
stdenv.lib.optional (coreutils != null) "PR_PROGRAM=${coreutils}/bin/pr"
|
||||||
|
++ stdenv.lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "gl_cv_func_getopt_gnu=yes";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.gnu.org/software/diffutils/diffutils.html;
|
homepage = http://www.gnu.org/software/diffutils/diffutils.html;
|
||||||
|
|
Loading…
Reference in a new issue