diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-05-07 05:59:37 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-05-07 05:59:37 -0400 |
commit | cd85778597a709c5d589c9f984d039e5b96bafca (patch) | |
tree | 4a0e4cecb2ff216cc270a2fac5716a54175e7c15 /openssl | |
parent | 041601b591742fa071f50f25ee8ef9f5b1008bd4 (diff) | |
download | spm_packages-cd85778597a709c5d589c9f984d039e5b96bafca.tar.gz |
Initial Darwin compat sweep
Diffstat (limited to 'openssl')
-rw-r--r-- | openssl/build.sh | 7 |
1 files changed, 5 insertions, 2 deletions
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" \ |