misuzu
2025-04-27 13:43:15 +03:00
parent fae52dd0f1
commit 04d6c15afe
+4 -1
View File
@@ -51,7 +51,10 @@ stdenv.mkDerivation rec {
# "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.
lib.optional (coreutils != null) "PR_PROGRAM=${coreutils}/bin/pr"
++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "gl_cv_func_getopt_gnu=yes";
++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
"gl_cv_func_getopt_gnu=yes"
"gl_cv_func_strcasecmp_works=yes"
];
# Test failure on QEMU only (#300550)
doCheck = !stdenv.buildPlatform.isRiscV64;