From 9a14303e28ed316e21e84998022a3356b1b85e73 Mon Sep 17 00:00:00 2001 From: Jeroen Ooms Date: Wed, 6 Jan 2021 17:46:35 +0100 Subject: [PATCH] Small tweaks for new autobrew --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 7976102..0892a43 100755 --- a/configure +++ b/configure @@ -32,13 +32,13 @@ elif [ "$PKGCONFIG_CFLAGS" ] || [ "$PKGCONFIG_LIBS" ]; then elif [[ "$OSTYPE" == "darwin"* ]]; then if [ $(command -v brew) ]; then BREWDIR=$(brew --prefix) + PKG_CFLAGS="-I$BREWDIR/include/hiredis -D_FILE_OFFSET_BITS=64" + PKG_LIBS="-L$BREWDIR/lib $PKG_LIBS" else - curl -sfL "https://jeroen.github.io/autobrew/$PKG_BREW_NAME" > autobrew + curl -sfL "https://autobrew.github.io/scripts/hiredis" > autobrew source autobrew rm autobrew fi - PKG_CFLAGS="-I$BREWDIR/opt/$PKG_BREW_NAME/include/hiredis -D_FILE_OFFSET_BITS=64" - PKG_LIBS="-L$BREWDIR/opt/$PKG_BREW_NAME/lib $PKG_LIBS" fi # For debugging