libieee1284: fix building for non-x86 musl

This commit is contained in:
Alyssa Ross 2024-10-25 21:17:46 +02:00
parent 80b560bc35
commit dc9eb76039

View File

@ -32,6 +32,11 @@ stdenv.mkDerivation rec {
configureFlags = [
"--without-python"
] ++ lib.optionals (stdenv.hostPlatform.isMusl && !stdenv.hostPlatform.isx86) [
# musl always provides <sys/io.h>, even though the functionality
# is x86-specific.
# https://www.openwall.com/lists/musl/2024/10/25/2
"ac_cv_header_sys_io_h=no"
];
prePatch = ''