2024-05-27 11:51:13 +02:00
|
|
|
# SPDX-FileCopyrightText: 2021 Guillaume DIDIER
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
|
2020-08-19 10:07:48 +02:00
|
|
|
#/bin/bash
|
2024-05-27 11:51:13 +02:00
|
|
|
|
|
|
|
# Change this to the correct openssl installation path
|
2020-12-02 16:30:28 +01:00
|
|
|
export OPENSSL_DIR=$(readlink -f ~/openssl)
|
2020-08-19 10:07:48 +02:00
|
|
|
export X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR=$OPENSSL_DIR
|
|
|
|
export PKG_CONFIG_PATH=$OPENSSL_DIR
|
|
|
|
export X86_64_UNKNOWN_LINUX_GNU_PKG_CONFIG_PATH=$OPENSSL_DIR
|
|
|
|
export LD_LIBRARY_PATH=$OPENSSL_DIR
|
|
|
|
cargo "$@"
|