summaryrefslogtreecommitdiff
blob: 3c35846608f7b8e121a28ccd449ce54742a12895 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From 2168f20fb6b00f7ae2104c6f4eafae2402cb1d92 Mon Sep 17 00:00:00 2001
From: Lars Wendler <polynomial-c@gentoo.org>
Date: Tue, 24 Jul 2018 13:00:40 +0200
Subject: [PATCH] Makefile: Use pkg-config to query freetype

As of freetype-2.9.1 the freetype-config file no longer gets installed
by default.
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index fc165e9..36fc681 100644
--- a/Makefile
+++ b/Makefile
@@ -55,8 +55,8 @@ SOFILE = libvdr-$(PLUGIN).so
 
 ### Includes and Defines (add further entries here):
 
-INCLUDES += $(shell freetype-config --cflags)
-LIBS += $(shell freetype-config --libs)
+INCLUDES += $(shell pkg-config --cflags freetype2)
+LIBS += $(shell pkg-config --libs freetype2)
 
 DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
 
-- 
2.18.0