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 --- libexpat/build.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libexpat') 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() { -- cgit