Skip to content

Commit

Permalink
Tweaks for autobrew
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Jan 6, 2021
1 parent 3ba976f commit 731b46f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,12 @@ else
elif [ "`uname`" = 'Darwin' ]; then
if [ "`command -v brew`" ]; then
BREWDIR=`brew --prefix`
PKG_CFLAGS="-I$BREWDIR/opt/$PKG_BREW_NAME/include"
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/unixodbc" > autobrew
. autobrew
rm "$BREWDIR"/lib/*.dylib
fi
PKG_CFLAGS="-I$BREWDIR/opt/$PKG_BREW_NAME/include"
PKG_LIBS="-L$BREWDIR/lib $PKG_LIBS"
fi
fi

Expand Down

0 comments on commit 731b46f

Please sign in to comment.