Correct prefix for openssl in cargo build

This commit is contained in:
Ian Douglas Scott 2017-06-23 19:09:55 -07:00
parent 4e5179df44
commit 76fc2f5b4f
No known key found for this signature in database
GPG Key ID: 4924E10E199B5959

View File

@ -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