From: Gustavo Zacarias Date: Mon, 12 Aug 2013 12:06:58 +0000 (-0300) Subject: imagemagick: fix magick++-config fixup error X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b339bb5641c59ad2e19aeb95c1387584c7c2aeab;p=buildroot.git imagemagick: fix magick++-config fixup error Magic++ bindings are built only with C++ and WCHAR toolchains. Add a WCHAR toolchain check for the magick++ config fixup. Looking into the future the fixup shouldn't bail on a missing file so we can avoid awkward kludges for packages that have many options and config files. Fixes: http://autobuild.buildroot.net/results/33a/33ac4b17866a64379b7bab3c0549f6e075c98dde/ Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk index 12b9f4b253..21495749d0 100644 --- a/package/imagemagick/imagemagick.mk +++ b/package/imagemagick/imagemagick.mk @@ -19,7 +19,7 @@ IMAGEMAGICK_AUTORECONF = YES IMAGEMAGICK_CONFIG_SCRIPTS = \ $(addsuffix -config,Magick MagickCore MagickWand Wand) -ifeq ($(BR2_INSTALL_LIBSTDCPP),y) +ifeq ($(BR2_INSTALL_LIBSTDCPP)$(BR2_USE_WCHAR),yy) IMAGEMAGICK_CONFIG_SCRIPTS += Magick++-config endif