From 47b3a845cfa171a4f76c6c213e027acf4607c1c7 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sat, 9 Feb 2013 12:13:59 +0100 Subject: 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 --- package/imagemagick/imagemagick.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'package') diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk index 722ab4003..def7a5dd4 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 -- cgit v1.2.3