From: Pavel Charvat Date: Wed, 7 May 2014 07:50:21 +0000 (+0200) Subject: Images: Fixed compilation problems with enabled GraphicsMagick. X-Git-Tag: v6.0~47 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=a905ff167630175770b4420b847d4d04658197ec;p=libucw.git Images: Fixed compilation problems with enabled GraphicsMagick. --- diff --git a/images/Makefile b/images/Makefile index 760ac638..eeae5ebf 100644 --- a/images/Makefile +++ b/images/Makefile @@ -61,7 +61,7 @@ LIBIMAGES_MODS+=io-libmagick MAGICK_LIBS:=$(shell GraphicsMagick-config --libs) MAGICK_CPPFLAGS:=$(shell GraphicsMagick-config --cppflags) LIBIMAGES_LIBS+=$(MAGICK_LIBS) -lpthread -$(o)/images/io-libmagick.o: CFLAGS+=$(MAGICK_CPPFLAGS) +$(addprefix $(o)/images/io-libmagick,.o .oo): CFLAGS+=$(MAGICK_CPPFLAGS) -Wno-redundant-decls -Wno-undef endif PROGS+=$(LIBIMAGES_PROGS)