Skip to content

Instantly share code, notes, and snippets.

@erantapaa
Last active September 29, 2020 23:31
Show Gist options
  • Save erantapaa/ab86ab1c53bad12097cc to your computer and use it in GitHub Desktop.
Save erantapaa/ab86ab1c53bad12097cc to your computer and use it in GitHub Desktop.
building cgit on OS X
brew install gettext

git clone git://git.zx2c4.com/cgit
cd cgit
git submodule init
git submodule update

Then modify the definitions of CFLAGS and LDFLAGS in git/Makefile:

CFLAGS = -g -O2 -Wall -I/usr/local/opt/gettext/include
LDFLAGS = -L/usr/local/opt/gettext/lib

Finish up with:

make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment