Search freetype headers under PREFIX too

Related to PR #346.
This commit is contained in:
Bert Münnich 2019-02-16 12:47:53 +01:00
parent f88afbb277
commit 1ef5429702

View File

@ -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