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