From 1ef5429702f3abd054b1887028d41fe4754bbd14 Mon Sep 17 00:00:00 2001 From: Bert Münnich Date: Sat, 16 Feb 2019 12:47:53 +0100 Subject: Search freetype headers under PREFIX too Related to PR #346. --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index cd858fc..18e7525 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -version = 25 +version = 25+ srcdir = . VPATH = $(srcdir) @@ -16,8 +16,9 @@ HAVE_GIFLIB = 1 HAVE_LIBEXIF = 1 cflags = -std=c99 -Wall -pedantic $(CFLAGS) -cppflags = -I. $(CPPFLAGS) -D_XOPEN_SOURCE=700 -DHAVE_GIFLIB=$(HAVE_GIFLIB) \ - -DHAVE_LIBEXIF=$(HAVE_LIBEXIF) -I/usr/include/freetype2 +cppflags = -I. $(CPPFLAGS) -D_XOPEN_SOURCE=700 \ + -DHAVE_GIFLIB=$(HAVE_GIFLIB) -DHAVE_LIBEXIF=$(HAVE_LIBEXIF) \ + -I/usr/include/freetype2 -I$(PREFIX)/include/freetype2 lib_exif_0 = lib_exif_1 = -lexif -- cgit v1.2.3-54-g00ecf