From 1b45e30404d2f19d973014a4a96958cf188790b6 Mon Sep 17 00:00:00 2001 From: Víctor Paesa Date: Mon, 5 Feb 2007 17:03:03 +0000 Subject: Remove hardcoded dependency of imlib2 on Xlib. patch by Víctor Paesa, wzrlpy arsystel com MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 7829 to svn://svn.ffmpeg.org/ffmpeg/trunk --- vhook/Makefile | 3 ++- vhook/imlib2.c | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'vhook') diff --git a/vhook/Makefile b/vhook/Makefile index 06b48935e0..e7a103bb66 100644 --- a/vhook/Makefile +++ b/vhook/Makefile @@ -11,7 +11,8 @@ ALLHOOKS=$(HOOKS) imlib2$(SLIBSUF) drawtext$(SLIBSUF) ifeq ($(HAVE_IMLIB2),yes) HOOKS += imlib2$(SLIBSUF) - LIBS_imlib2$(SLIBSUF) = -lImlib2 + CFLAGS += `imlib2-config --cflags` + LIBS_imlib2$(SLIBSUF) = `imlib2-config --libs` endif ifeq ($(HAVE_FREETYPE2),yes) diff --git a/vhook/imlib2.c b/vhook/imlib2.c index 87c54cf0bf..1c137724f5 100644 --- a/vhook/imlib2.c +++ b/vhook/imlib2.c @@ -103,7 +103,6 @@ #undef time #include #include -#include #include #include "eval.h" -- cgit v1.2.3