Trying to do a make install of git from source, and it keep kicking up the error:
make install
* new build flags or prefix
CC credential-store.o
In file include
The following worked for me:
brew reinstall gettext
brew unlink gettext && brew link gettext --force
export LDFLAGS="-L/usr/local/opt/libpq/lib"
export CPPFLAGS="-I/usr/local/opt/libpq/include"
For e.g, while installing Postgis on my system I used ./configure
with the following flags
./configure CPPFLAGS="-I/usr/local/opt/libpq/include" LDFLAGS="-L/usr/local/opt/libpq/lib"