summaryrefslogtreecommitdiffstats
path: root/package/xterm/xterm.mk
diff options
context:
space:
mode:
authorkyak <bas@bmail.ru>2015-07-27 17:46:49 +0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-27 22:53:26 +0200
commitf24bd7273dcec0876779a6c3949a3e5e64d44712 (patch)
tree4619077a27720978bbe1bfd6a9c37ae7ab827405 /package/xterm/xterm.mk
parenta151706155c4e522cd1d3da39ff76dcb6676b00f (diff)
downloadbuildroot-f24bd7273dcec0876779a6c3949a3e5e64d44712.tar.gz
buildroot-f24bd7273dcec0876779a6c3949a3e5e64d44712.zip
xterm: x-includes and x-libraries must be set for cross-compiling
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@bmail.ru> Reviewed-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/xterm/xterm.mk')
-rw-r--r--package/xterm/xterm.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/xterm/xterm.mk b/package/xterm/xterm.mk
index 56f692dd21..778b40cbd8 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))
OpenPOWER on IntegriCloud