From: Peter Korsgaard Date: Sat, 9 Feb 2013 11:13:59 +0000 (+0100) Subject: imagemagick: fix CONFIG_SCRIPTS handling when C++ isn't available X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=47b3a845cfa171a4f76c6c213e027acf4607c1c7;p=buildroot.git imagemagick: fix CONFIG_SCRIPTS handling when C++ isn't available Fixes http://autobuild.buildroot.org/results/0b35567af8a41a14c9c33f3be5299978c5847e03 Magick++-config only gets installed when C++ support is detected. Signed-off-by: Peter Korsgaard --- diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk index 722ab40038..def7a5dd4b 100644 --- a/package/imagemagick/imagemagick.mk +++ b/package/imagemagick/imagemagick.mk @@ -17,7 +17,11 @@ IMAGEMAGICK_LICENSE_FILES = LICENSE IMAGEMAGICK_INSTALL_STAGING = YES IMAGEMAGICK_AUTORECONF = YES IMAGEMAGICK_CONFIG_SCRIPTS = \ - $(addsuffix -config,Magick MagickCore MagickWand Wand Magick++) + $(addsuffix -config,Magick MagickCore MagickWand Wand) + +ifeq ($(BR2_INSTALL_LIBSTDCPP),y) +IMAGEMAGICK_CONFIG_SCRIPTS += Magick++-config +endif ifeq ($(BR2_LARGEFILE),y) IMAGEMAGICK_CONF_ENV = ac_cv_sys_file_offset_bits=64