diff --git a/recipes/cargo/recipe.sh b/recipes/cargo/recipe.sh index a6faa2c7920829db53d4e81f9bdec3e53e550d07..835267931c250bd7a8bf68930700aa7b947a62f2 100644 --- a/recipes/cargo/recipe.sh +++ b/recipes/cargo/recipe.sh @@ -13,9 +13,9 @@ function recipe_build { mkdir openssl-prefix pushd openssl-redox - ./Configure no-shared no-dgram redox-x86_64 --prefix="$PWD/../openssl-prefix" + ./Configure no-shared no-dgram redox-x86_64 --prefix="/" make -j"$(nproc)" - make install + make DESTDIR="$PWD/../openssl-prefix" install popd export OPENSSL_DIR=$PWD/openssl-prefix