diff options
Diffstat (limited to 'vhook')
-rw-r--r-- | vhook/Makefile | 3 | ||||
-rw-r--r-- | vhook/imlib2.c | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vhook/Makefile b/vhook/Makefile index 06b4893..e7a103b 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 87c54cf..1c13772 100644 --- a/vhook/imlib2.c +++ b/vhook/imlib2.c @@ -103,7 +103,6 @@ #undef time #include <sys/time.h> #include <time.h> -#include <X11/Xlib.h> #include <Imlib2.h> #include "eval.h" |