Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] xterm: x-includes and x-libraries must be set for cross-compiling
@ 2015-07-27 14:46 Mikhail Peselnik
  2015-07-27 14:46 ` [Buildroot] [PATCH 2/2] package/xterm: compile with libXft support when it selected Mikhail Peselnik
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Mikhail Peselnik @ 2015-07-27 14:46 UTC (permalink / raw)
  To: buildroot

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>
---
 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))
-- 
2.4.6

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-07-28  4:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-27 14:46 [Buildroot] [PATCH 1/2] xterm: x-includes and x-libraries must be set for cross-compiling Mikhail Peselnik
2015-07-27 14:46 ` [Buildroot] [PATCH 2/2] package/xterm: compile with libXft support when it selected Mikhail Peselnik
2015-07-27 15:04   ` Romain Naour
2015-07-27 15:01 ` [Buildroot] [PATCH 1/2] xterm: x-includes and x-libraries must be set for cross-compiling Romain Naour
2015-07-27 20:55 ` Thomas Petazzoni
2015-07-28  4:38   ` kyak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox