![Jérôme Pouiller](/assets/img/avatar_default.png)
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>
33 lines
902 B
Makefile
33 lines
902 B
Makefile
################################################################################
|
|
#
|
|
# xterm
|
|
#
|
|
################################################################################
|
|
|
|
XTERM_VERSION = 327
|
|
XTERM_SOURCE = xterm-$(XTERM_VERSION).tgz
|
|
XTERM_SITE = http://invisible-mirror.net/archives/xterm
|
|
XTERM_DEPENDENCIES = ncurses xlib_libXaw host-pkgconf
|
|
XTERM_LICENSE = MIT
|
|
XTERM_LICENSE_FILES = version.c
|
|
XTERM_CONF_OPTS = --enable-256-color \
|
|
--x-includes=$(STAGING_DIR)/usr/include \
|
|
--x-libraries=$(STAGING_DIR)/usr/lib
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXFT),y)
|
|
XTERM_DEPENDENCIES += xlib_libXft
|
|
XTERM_CONF_OPTS += --enable-freetype \
|
|
--with-freetype-config=auto
|
|
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))
|