From cd85778597a709c5d589c9f984d039e5b96bafca Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 7 May 2020 05:59:37 -0400 Subject: Initial Darwin compat sweep --- sqlite/build.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sqlite') 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() { -- cgit