summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérôme Pouiller <jezz@sysmic.org>2016-11-14 13:22:37 (GMT)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-11-30 22:40:51 (GMT)
commit6013266e58fccb59a406d45648985e307111445a (patch)
tree47b3210c01a05f77801f8a14e81a8b9619b6990d
parent701b113747167b5cc57187c4c5f220e4245c08fb (diff)
downloadbuildroot-next.tar.gz
buildroot-next.tar.bz2
xterm: depend on libXinerama if appropriatenext
xterm may depends on libXinerama.so: $ arm-linux-readelf -d ./usr/bin/xterm | grep NEEDED 0x00000001 (NEEDED) Shared library: [libXft.so.2] 0x00000001 (NEEDED) Shared library: [libfontconfig.so.1] 0x00000001 (NEEDED) Shared library: [libXmu.so.6] 0x00000001 (NEEDED) Shared library: [libXaw.so.7] 0x00000001 (NEEDED) Shared library: [libXt.so.6] 0x00000001 (NEEDED) Shared library: [libX11.so.6] 0x00000001 (NEEDED) Shared library: [libXinerama.so.1] 0x00000001 (NEEDED) Shared library: [libXpm.so.4] 0x00000001 (NEEDED) Shared library: [libICE.so.6] 0x00000001 (NEEDED) Shared library: [libncursesw.so.6] 0x00000001 (NEEDED) Shared library: [libc.so.6] However, build order with libXinerama is not defined. Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/xterm/xterm.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/xterm/xterm.mk b/package/xterm/xterm.mk
index eba781f..645de92 100644
--- a/package/xterm/xterm.mk
+++ b/package/xterm/xterm.mk
@@ -22,4 +22,11 @@ else
XTERM_CONF_OPTS += --disable-freetype
endif
+ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y)
+XTERM_DEPENDENCIES += xlib_libXinerama
+XTERM_CONF_OPTS += --with-xinerama
+else
+XTERM_CONF_OPTS += --without-xinerama
+endif
+
$(eval $(autotools-package))