diff --git a/recipes/zlib/recipe.sh b/recipes/zlib/recipe.sh index 0a294e31630117432beb6d509c8a7f4e3d2d7d10..bbe7bd1a528b0c7a6e5d389d7693a209784a3653 100644 --- a/recipes/zlib/recipe.sh +++ b/recipes/zlib/recipe.sh @@ -12,7 +12,8 @@ function recipe_update { } function recipe_build { - ./configure --static --prefix=/ + # See https://stackoverflow.com/questions/21396988/zlib-build-not-configuring-properly-with-cross-compiler-ignores-ar. + CHOST=x86_64-unknown-redox ./configure --static --prefix=/ make -j"$(nproc)" skip=1 }