scanbd: fix cross compile configureFlags
This commit is contained in:
parent
e8e48a7a53
commit
1b82360284
1 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,10 @@ stdenv.mkDerivation rec {
|
|||
"--enable-udev"
|
||||
"--with-scanbdconfdir=/etc/scanbd"
|
||||
"--with-systemdsystemunitdir=$out/lib/systemd/system"
|
||||
] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
# AC_FUNC_MALLOC is broken on cross builds.
|
||||
"ac_cv_func_malloc_0_nonnull=yes"
|
||||
"ac_cv_func_realloc_0_nonnull=yes"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
|
Loading…
Reference in a new issue