Commit 3230c610 authored by Alyssa Ross's avatar Alyssa Ross
Browse files

skalibs: fix cross

Fixes: 875d3b3b ("skawarePackages.skalibs: 2.14.3.0 -> 2.14.4.0")
parent bbf996c7
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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.