diff --git a/recipes/games/neverball/recipe.sh b/recipes/games/neverball/recipe.sh
index c1ce70eb45532300e90ef24ecebe900edc437cb0..39a3e5f5cbb958978a6bb38664ba05d5aeedb975 100644
--- a/recipes/games/neverball/recipe.sh
+++ b/recipes/games/neverball/recipe.sh
@@ -10,7 +10,7 @@ function recipe_version {
 function recipe_build {
     set -x
     env -i \
-        LDFLAGS="-static" \
+        LDFLAGS="-static -ljpeg -lpng16 -lz" \
         PATH="/usr/bin:/bin" \
         PKG_CONFIG="pkg-config" \
     "$REDOX_MAKE" -j"$($NPROC)" ENABLE_FS=stdio mapc sols