kumquat-buildroot/package/x11r7/xlib_libX11/xlib_libX11.mk
Adam Duskett 3716a2d418 package/x11r7/xlib_libX11: don't require static libc on host
As per: 4645e21913

"For Windows targets, libtool uses a wrapper executable, not a wrapper
script (see [1]), which it compiles with the host compiler.  This
doesn't work when cross-compiling."

Because of this change, builds fail on Linux hosts without a static
libc. This patch reverts this change as we are guaranteed to build in a
Linux environment.

Fixes:
http://autobuild.buildroot.net/results/ac7c777e5fe31b6eda8b8b662881b07299e57ae9

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2019-07-04 00:20:47 +02:00

43 lines
993 B
Makefile

################################################################################
#
# xlib_libX11
#
################################################################################
XLIB_LIBX11_VERSION = 1.6.8
XLIB_LIBX11_SOURCE = libX11-$(XLIB_LIBX11_VERSION).tar.bz2
XLIB_LIBX11_SITE = https://xorg.freedesktop.org/archive/individual/lib
XLIB_LIBX11_LICENSE = MIT
XLIB_LIBX11_LICENSE_FILES = COPYING
XLIB_LIBX11_INSTALL_STAGING = YES
XLIB_LIBX11_AUTORECONF = YES
XLIB_LIBX11_DEPENDENCIES = \
libxcb \
xutil_util-macros \
xlib_xtrans \
xlib_libXau \
xlib_libXdmcp \
xorgproto \
host-xorgproto
HOST_XLIB_LIBX11_DEPENDENCIES = \
host-libxcb \
host-xutil_util-macros \
host-xlib_xtrans \
host-xlib_libXau \
host-xlib_libXdmcp \
host-xorgproto
XLIB_LIBX11_CONF_OPTS = \
--disable-malloc0returnsnull \
--with-xcb \
--disable-specs \
--without-perl
HOST_XLIB_LIBX11_CONF_OPTS = \
--disable-specs \
--without-perl
$(eval $(autotools-package))
$(eval $(host-autotools-package))