[Buildroot] [PATCH 1/2] xterm: x-includes and x-libraries must be set for cross-compiling
Romain Naour
romain.naour at openwide.fr
Mon Jul 27 15:01:15 UTC 2015
Hi Mikhail,
Le 27/07/2015 16:46, Mikhail Peselnik a écrit :
> These flags need to be set so that the configure script would
> correctly use libICE from cross-toolchain rather than from host.
>
> This fix is similar to "package/efl/libevas: x-includes and x-libraries
> must be set for cross-compiling" done by Romain Naour on libecore.
>
> Signed-off-by: Mikhail Peselnik <bas at bmail.ru>
Reviewed-by: Romain Naour <romain.naour at openwide.fr>
Best regards,
Romain
> ---
> package/xterm/xterm.mk | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/package/xterm/xterm.mk b/package/xterm/xterm.mk
> index 56f692d..778b40c 100644
> --- a/package/xterm/xterm.mk
> +++ b/package/xterm/xterm.mk
> @@ -10,6 +10,8 @@ XTERM_SITE = ftp://invisible-island.net/xterm
> XTERM_DEPENDENCIES = ncurses xlib_libXaw
> XTERM_LICENSE = MIT
> XTERM_LICENSE_FILES = version.c
> -XTERM_CONF_OPTS = --enable-256-color
> +XTERM_CONF_OPTS = --enable-256-color \
> + --x-includes=$(STAGING_DIR)/usr/include \
> + --x-libraries=$(STAGING_DIR)/usr/lib
>
> $(eval $(autotools-package))
>
More information about the buildroot
mailing list