From fc6cc4805021b63f2a8512528d3146f9ff6b0f67 Mon Sep 17 00:00:00 2001 From: Tobias Grimm Date: Mon, 18 May 2009 01:26:34 +0200 Subject: Use pkg-config --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b666db9..f5720c8 100644 --- a/Makefile +++ b/Makefile @@ -71,7 +71,8 @@ endif ifdef HAVE_IMAGEMAGICK DEFINES += -DHAVE_IMAGEMAGICK - LIBS += -lMagick -lMagick++ + INCLUDES += `pkg-config --cflags ImageMagick++` + LIBS += `pkg-config --libs ImageMagick++` # LIBS += $(shell Magick++-config --ldflags --libs) endif -- cgit v1.2.3