libvisual: fix cross-compilation
This commit is contained in:
parent
a6dd8253d2
commit
25a4bb011f
1 changed files with 3 additions and 0 deletions
|
@ -47,6 +47,9 @@ stdenv.mkDerivation rec {
|
|||
configureFlags = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
# Remove once "sdl-cross-prereq.patch" patch above is removed.
|
||||
"--disable-lv-tool"
|
||||
] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
|
||||
"ac_cv_func_malloc_0_nonnull=yes"
|
||||
"ac_cv_func_realloc_0_nonnull=yes"
|
||||
];
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue