summaryrefslogtreecommitdiff
path: root/libexpat/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'libexpat/build.sh')
-rw-r--r--libexpat/build.sh4
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() {