diff options
Diffstat (limited to 'openssl/build.sh')
-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" \ |