From cd85778597a709c5d589c9f984d039e5b96bafca Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 7 May 2020 05:59:37 -0400 Subject: Initial Darwin compat sweep --- openssl/build.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'openssl') diff --git a/openssl/build.sh b/openssl/build.sh index 30f1d5d..e7b34cf 100644 --- a/openssl/build.sh +++ b/openssl/build.sh @@ -16,10 +16,13 @@ function prepare() { } function build() { - export LDFLAGS="-Wl,-rpath=${_runtime}/lib -L${_runtime}/lib" export KERNEL_BITS=64 export TARGET=linux-x86_64 - #mkdir -p ${build_runtime}/lib + + if [[ $(uname -s) == Darwin ]]; then + TARGET=darwin64-x86_64-cc + fi + ./Configure \ --prefix="${_prefix}" \ --openssldir="${_prefix}/etc/ssl" \ -- cgit