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 /libexpat | |
parent | 041601b591742fa071f50f25ee8ef9f5b1008bd4 (diff) | |
download | spm_packages-cd85778597a709c5d589c9f984d039e5b96bafca.tar.gz |
Initial Darwin compat sweep
Diffstat (limited to 'libexpat')
-rw-r--r-- | libexpat/build.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libexpat/build.sh b/libexpat/build.sh index ccb636c..c0d4c53 100644 --- a/libexpat/build.sh +++ b/libexpat/build.sh @@ -18,6 +18,10 @@ depends=() function prepare() { tar xf R_${version//./_}.tar.gz cd ${name}-R_${version//./_}/expat + + if [[ $(uname -s) == Darwin ]]; then + LDFLAGS="-L${_runtime}" + fi } function build() { |