skalibs: fix cross

Fixes: 875d3b3bae ("skawarePackages.skalibs: 2.14.3.0 -> 2.14.4.0")
This commit is contained in:
Alyssa Ross 2025-06-01 10:34:49 +02:00
parent bbf996c730
commit 3230c6105b

View file

@ -33,6 +33,15 @@ skawarePackages.buildPackage {
] ]
++ lib.optionals (stdenv.buildPlatform.config != stdenv.hostPlatform.config) [ ++ lib.optionals (stdenv.buildPlatform.config != stdenv.hostPlatform.config) [
# There's a fallback path for BSDs.
"--with-sysdep-procselfexe=${
if stdenv.hostPlatform.isLinux then
"/proc/self/exe"
else if stdenv.hostPlatform.isSunOS then
"/proc/self/path/a.out"
else
"none"
}"
# ./configure: sysdep posixspawnearlyreturn cannot be autodetected # ./configure: sysdep posixspawnearlyreturn cannot be autodetected
# when cross-compiling. Please manually provide a value with the # when cross-compiling. Please manually provide a value with the
# --with-sysdep-posixspawnearlyreturn=yes|no|... option. # --with-sysdep-posixspawnearlyreturn=yes|no|... option.