90a459ce4d
The cross-compile fix included in mainline of libXt between 1.0.5 and 1.0.6 is not sufficient. It allows to pass a different compiler for the host tools, but still uses the TARGET_CFLAGS/TARGET_LDFLAGS to compile the host tools, which obviously isn't correct. The new patch allows to use the CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD variables as the CFLAGS/LDFLAGS to build the host tools. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
18 lines
783 B
Makefile
18 lines
783 B
Makefile
################################################################################
|
|
#
|
|
# xlib_libXt -- X.Org Xt library
|
|
#
|
|
################################################################################
|
|
|
|
XLIB_LIBXT_VERSION = 1.0.6
|
|
XLIB_LIBXT_SOURCE = libXt-$(XLIB_LIBXT_VERSION).tar.bz2
|
|
XLIB_LIBXT_SITE = http://xorg.freedesktop.org/releases/individual/lib
|
|
XLIB_LIBXT_AUTORECONF = YES
|
|
XLIB_LIBXT_LIBTOOL_PATCH = NO
|
|
XLIB_LIBXT_INSTALL_STAGING = YES
|
|
XLIB_LIBXT_DEPENDENCIES = xlib_libSM xlib_libX11 xproto_kbproto xproto_xproto xcb-proto libxcb
|
|
XLIB_LIBXT_CONF_ENV = CC_FOR_BUILD="/usr/bin/gcc -I$(STAGING_DIR)/usr/include"
|
|
XLIB_LIBXT_CONF_OPT = --disable-malloc0returnsnull --enable-shared --disable-static --disable-install-makestrs
|
|
|
|
$(eval $(call AUTOTARGETS,package/x11r7,xlib_libXt))
|