mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
skalibs: fix cross
Fixes: 875d3b3bae
("skawarePackages.skalibs: 2.14.3.0 -> 2.14.4.0")
This commit is contained in:
parent
bbf996c730
commit
3230c6105b
1 changed files with 9 additions and 0 deletions
|
@ -33,6 +33,15 @@ skawarePackages.buildPackage {
|
|||
|
||||
]
|
||||
++ 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
|
||||
# when cross-compiling. Please manually provide a value with the
|
||||
# --with-sysdep-posixspawnearlyreturn=yes|no|... option.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue