require xorg-lib-common.inc DESCRIPTION = "X11 toolkit intrinsics library" DEPENDS += "libsm virtual/libx11 kbproto libxdmcp" PROVIDES = "xt" PR = "r1" PE = "1" XORG_PN = "libXt" BBCLASSEXTEND = "native" EXTRA_OECONF += "--disable-install-makestrs --disable-xkb" do_compile() { ( unset CC LD CXX CCLD CFLAGS oe_runmake -C util 'XT_CFLAGS=' 'CC=${BUILD_CC}' 'LD=${BUILD_LD}' 'CXX=${BUILD_CXX}' 'CCLD=${BUILD_CCLD}' 'CFLAGS=-D_GNU_SOURCE -I${STAGING_INCDIR_NATIVE} ${BUILD_CFLAGS}' 'LDFLAGS=${BUILD_LDFLAGS}' 'CXXFLAGS=${BUILD_CXXFLAGS}' 'CPPFLAGS=${BUILD_CPPFLAGS}' makestrs ) if [ "$?" != "0" ]; then exit 1 fi oe_runmake }