Verified Commit 09252b21 authored by Bernd Paysan's avatar Bernd Paysan
Browse files

Add library search paths for Darwin

parent fed4f4fe
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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... "
+1 −0
Original line number Diff line number Diff line
@@ -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;