diff --git a/recipes/dash/recipe.sh b/recipes/dash/recipe.sh
index 9f3d22c189039ac15a6615499bb54d7f6c53718a..725a93e76a54d8f809b3c15725aeb7fee0071ca9 100644
--- a/recipes/dash/recipe.sh
+++ b/recipes/dash/recipe.sh
@@ -19,6 +19,7 @@ function recipe_build {
         --prefix=/ \
         --enable-static \
         cross_compiling=yes
+    sed -i 's|#define HAVE_GETRLIMIT 1|/* #undef HAVE_GETRLIMIT */|g' config.h
     make -j"$(nproc)"
     skip=1
 }