summaryrefslogtreecommitdiffstats
path: root/package/fluxbox
diff options
context:
space:
mode:
authorJames Knight <james.knight@rockwellcollins.com>2015-06-18 13:42:56 -0400
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-06-18 22:40:04 +0200
commit3f1ddefda19f2883ddc9e1fe35d7ce347ea1ee72 (patch)
tree15512d011a549faabe705da7dd3c57ba1c39b9ab /package/fluxbox
parentaf8d0a6399807a91564530a9e0376162bf6d40d5 (diff)
downloadbuildroot-3f1ddefda19f2883ddc9e1fe35d7ce347ea1ee72.tar.gz
buildroot-3f1ddefda19f2883ddc9e1fe35d7ce347ea1ee72.zip
fluxbox: fix build against xlib_libXpm
Explicitly configure XPM support based on the library selection provided (BR2_PACKAGE_XLIB_LIBXPM). It has been observed on different hosts that XPM support may or may not be included based off the state of the host's system. One can validate XPM support is included in Fluxbox by using the command `fluxbox -info`. Signed-off-by: James Knight <james.knight@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/fluxbox')
-rw-r--r--package/fluxbox/fluxbox.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/fluxbox/fluxbox.mk b/package/fluxbox/fluxbox.mk
index c8e4289bf5..d2e8c89f53 100644
--- a/package/fluxbox/fluxbox.mk
+++ b/package/fluxbox/fluxbox.mk
@@ -22,6 +22,13 @@ else
FLUXBOX_CONF_OPTS += --disable-imlib2
endif
+ifeq ($(BR2_PACKAGE_XLIB_LIBXPM),y)
+FLUXBOX_CONF_OPTS += --enable-xpm --with-xpm-prefix=$(STAGING_DIR)/usr
+FLUXBOX_DEPENDENCIES += xlib_libXpm
+else
+FLUXBOX_CONF_OPTS += --disable-xpm
+endif
+
define FLUXBOX_INSTALL_XSESSION_FILE
$(INSTALL) -m 0755 -D package/fluxbox/xsession \
$(TARGET_DIR)/root/.xsession
OpenPOWER on IntegriCloud