Commit 09252b21 authored by Bernd Paysan's avatar Bernd Paysan

Add library search paths for Darwin

parent fed4f4fe
......@@ -16,6 +16,15 @@ case $CC in
LIBADD="-llog"
;;
esac
case "$host_os" in
*darwin*)
for i in /opt/X11 /sw /usr/local
do
test -d $i/include && CPPFLAGS="$CPPFLAGS -I$i/include"
test -d $i/lib && LDFLAGS="$LDFLAGS -L$i/lib"
done
;;
esac
>conftest.$ac_ext
echo -n "checking include directory for ft2build.h... "
......
......@@ -306,6 +306,7 @@ texture_font_init(texture_font_t *self)
self->height = 0;
self->ascender = 0;
self->descender = 0;
self->linegap = 0;
self->rendermode = RENDER_NORMAL;
self->outline_thickness = 0.0;
self->hinting = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment