name=xorg-libxft
version=2.1.14
-release=1
+release=2
source=(http://xorg.freedesktop.org/releases/individual/lib/libXft-$version.tar.bz2)
build() {
cd libXft-$version
- export X11_LIBS="-L$CLFS/usr/lib -lpthread-stubs"
+ export X11_LIBS="-L$CLFS/usr/lib -lX11"
export X11_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
- export XRENDER_LIBS="$X11_LIBS"
+ export XRENDER_LIBS="$X11_LIBS -lXrender"
export XRENDER_CFLAGS="$X11_CFLAGS"
export FREETYPE_LIBS="$X11_LIBS -lfreetype -lz"
export FREETYPE_CFLAGS="$X11_CFLAGS -I$CLFS/usr/include/freetype2"