Skip to content
Snippets Groups Projects
Commit d51fa87c authored by Daniele Cattaneo's avatar Daniele Cattaneo Committed by Federico
Browse files

Fix building code generator tools on macOS.

parent 6e038375
No related branches found
No related tags found
No related merge requests found
......@@ -5,10 +5,10 @@ if [ ! -d freetype-2.4.3 ]; then
echo "Building freetype 2.4.3"
tar xjvf ../libs/freetype-2.4.3.tar.bz2
cd freetype-2.4.3
./configure
./configure --enable-static --disable-shared
make
# We want to forcefully link statically, and a possible way is to remove
# the dynamic libraries
cd objs/.libs
rm libfreetype.so libfreetype.la libfreetype.lai
rm -f libfreetype.so libfreetype.la libfreetype.lai
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment