summaryrefslogtreecommitdiff
path: root/gdbm/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gdbm/build.sh')
-rw-r--r--gdbm/build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdbm/build.sh b/gdbm/build.sh
index 6a680e9..bb25202 100644
--- a/gdbm/build.sh
+++ b/gdbm/build.sh
@@ -15,6 +15,10 @@ depends=(
function prepare() {
tar xf ${name}-${version}.tar.gz
cd ${name}-${version}
+ if [[ $(uname -s) == Darwin ]]; then
+ # two -rpaths don't make a working build -- for whatever reason
+ LDFLAGS="-L${_runtime}/lib"
+ fi
}
function build() {