summaryrefslogtreecommitdiff
path: root/sqlite
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 /sqlite
parent041601b591742fa071f50f25ee8ef9f5b1008bd4 (diff)
downloadspm_packages-cd85778597a709c5d589c9f984d039e5b96bafca.tar.gz
Initial Darwin compat sweep
Diffstat (limited to 'sqlite')
-rw-r--r--sqlite/build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/sqlite/build.sh b/sqlite/build.sh
index 45b6973..faac1b7 100644
--- a/sqlite/build.sh
+++ b/sqlite/build.sh
@@ -21,6 +21,10 @@ depends=(
function prepare() {
tar xf ${name}-autoconf-${_v}.tar.gz
cd ${name}-autoconf-${_v}
+ if [[ $(uname -s) == Darwin ]]; then
+ # extra -rpath kills the build
+ LDFLAGS="-L${_runtime}/lib"
+ fi
}
function build() {