summaryrefslogtreecommitdiff
path: root/gdbm
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-05-07 05:59:37 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-05-07 05:59:37 -0400
commitcd85778597a709c5d589c9f984d039e5b96bafca (patch)
tree4a0e4cecb2ff216cc270a2fac5716a54175e7c15 /gdbm
parent041601b591742fa071f50f25ee8ef9f5b1008bd4 (diff)
downloadspm_packages-cd85778597a709c5d589c9f984d039e5b96bafca.tar.gz
Initial Darwin compat sweep
Diffstat (limited to 'gdbm')
-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() {