summaryrefslogtreecommitdiff
path: root/xz/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'xz/build.sh')
-rw-r--r--xz/build.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/xz/build.sh b/xz/build.sh
index e625ffc..7e8b063 100644
--- a/xz/build.sh
+++ b/xz/build.sh
@@ -1,6 +1,6 @@
#!/bin/bash
name=xz
-version=5.2.4
+version=5.2.5
revision=0
sources=(
"https://tukaani.org/xz/${name}-${version}.tar.gz"
@@ -11,6 +11,11 @@ depends=()
function prepare() {
tar xf ${name}-${version}.tar.gz
cd ${name}-${version}
+
+ if [[ $(uname -s) == Darwin ]]; then
+ # redundant rpath kills the build
+ LDFLAGS="-L${_runtime}/lib"
+ fi
}
function build() {