summaryrefslogtreecommitdiff
path: root/gettext/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gettext/build.sh')
-rw-r--r--gettext/build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/gettext/build.sh b/gettext/build.sh
index 5d0192e..6adab04 100644
--- a/gettext/build.sh
+++ b/gettext/build.sh
@@ -11,6 +11,10 @@ depends=()
function prepare() {
tar xf ${name}-${version}.tar.gz
cd ${name}-${version}
+
+ if [[ $(uname -s) == Darwin ]]; then
+ LDFLAGS="-L${_runtime}"
+ fi
}
function build() {