Skip to content

Instantly share code, notes, and snippets.

@volnt
Created September 7, 2016 12:45
Show Gist options
  • Save volnt/a35dba782d083f456d59c1633d8f6eec to your computer and use it in GitHub Desktop.
Save volnt/a35dba782d083f456d59c1633d8f6eec to your computer and use it in GitHub Desktop.
Install libfreetype from source with -fPIC
wget http://downloads.sourceforge.net/freetype/freetype-doc-2.6.5.tar.bz2
tar xaf freetype-2.6.5.tar.bz2
cd freetype-2-6-5
mkdir build
cd build
cmake ..
make C_FLAGS="-fPIC -I../include/"
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment