libvisual: fix cross-compilation

This commit is contained in:
Kamilla Ova 2024-04-27 20:40:20 +03:00
parent a6dd8253d2
commit 25a4bb011f
No known key found for this signature in database
GPG key ID: 2D525F67791E5834

View file

@ -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 = {