[Buildroot] [PATCH 2/8] fluxbox: fix build against imlib2

Peter Korsgaard jacmet at uclibc.org
Thu Jan 3 20:38:40 UTC 2013


>>>>> "Samuel" == Samuel Martin <s.martin49 at gmail.com> writes:

 Samuel> * fix configure.in to take care of the given imlib2-prefix
 Samuel> * disable imlib2 support if imlib2 is not part of the selection

 Samuel> Signed-off-by: Samuel Martin <s.martin49 at gmail.com>

 Samuel> +++ b/package/fluxbox/fluxbox.mk
 Samuel> @@ -10,11 +10,19 @@ FLUXBOX_SITE = http://downloads.sourceforge.net/project/fluxbox/fluxbox/$(FLUXBO
 Samuel>  FLUXBOX_LICENSE = MIT
 Samuel>  FLUXBOX_LICENSE_FILES = COPYING
 
 Samuel> +FLUXBOX_AUTORECONF = YES
 Samuel> +
 Samuel>  FLUXBOX_CONF_OPT = --x-includes=$(STAGING_DIR)/usr/include/X11 \
 Samuel>  		   --x-libraries=$(STAGING_DIR)/usr/lib
 Samuel> -
 Samuel>  FLUXBOX_DEPENDENCIES = xlib_libX11 $(if $(BR2_PACKAGE_LIBICONV),libiconv)
 
 Samuel> +ifeq ($(BR2_PACKAGE_IMLIB2),y)
 Samuel> +FLUXBOX_CONF_OPT += --enable-imlib2 --with-imlib2-prefix=$(STAGING_DIR)/usr

Imlib2 needs to be built with X11 support, otherwise linking fails, so
I've updated the test to handle this and committed, thanks.


-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list