Skip to content

Instantly share code, notes, and snippets.

Last active Dec 12, 2020
What would you like to do?
Building libgit2 on Solaris 10
# Install dependencies
sudo pkgutil -i cmake libssh2_dev libssl_dev
# Download latest release
cd ~/Desktop
curl -OL
gtar xzf libgit2-1.1.0.tar.gz
cd libgit2-1.1.0
# Patch to use C99 instead of C90
gsed -i.bak 's/90/99/g' src/CMakeLists.txt
# Build
mkdir build
cd build
# Install
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment