There is a typo in the CFLAGS. Additionally a fix is needed to
have the X library paths configured correctly.
Fixed and tested for MACHINE=beagleboard.
Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
LICENSE = "AGG License"
DEPENDS = "virtual/libx11 virtual/libsdl freetype"
-PR = "r1"
+PR = "r2"
SRC_URI = "http://www.antigrain.com/${P}.tar.gz"
S = "${WORKDIR}/${P}"
export SDL_CONFIG=${STAGING_BINDIR_CROSS}/sdl-config
-CFLAGS += " -I{$STAGING_INCDIR} "
+CFLAGS += " -I${STAGING_INCDIR} "
PACKAGES =+ "${PN}-sdl ${PN}-x11"
LEAD_SONAME = "libagg.so"
+EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/usr/include --x-libraries=${STAGING_INCDIR}/usr/lib"
+
do_stage() {
oe_libinstall -a -so libagg ${STAGING_LIBDIR}
oe_libinstall -a -so libaggfontfreetype ${STAGING_LIBDIR}