From a905ff167630175770b4420b847d4d04658197ec Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Wed, 7 May 2014 09:50:21 +0200 Subject: [PATCH] Images: Fixed compilation problems with enabled GraphicsMagick. --- images/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2