From 76fc2f5b4f2b742658f4ceae8fb63d514576d4f2 Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Fri, 23 Jun 2017 19:09:55 -0700 Subject: [PATCH] Correct prefix for openssl in cargo build --- recipes/cargo/recipe.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/cargo/recipe.sh b/recipes/cargo/recipe.sh index a6faa2c7..83526793 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