name=xorg-libxres
version=1.0.4
-release=1
+release=2
source=(http://xorg.freedesktop.org/releases/individual/lib/libXres-$version.tar.bz2)
build() {
cd libXres-$version
- export X11_LIBS="-L$CLFS/usr/lib -lpthread-stubs"
+ export X11_LIBS="-L$CLFS/usr/lib -lX11 -lXext"
export X11_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
export XRES_LIBS="$X11_LIBS"
export XRES_CFLAGS="$X11_CFLAGS"