From 8f108143e67a2d4b2ca6d377db8b3c18a4abe75c Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 31 Mar 2021 14:15:47 +0300 Subject: [PATCH] Use pkg-config to get freetype compile info --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f5bda93..0c009ab 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ CFLAGS := -Wall -Wextra -Werror -std=c89 -pedantic -O2 -FREETYPE_FLAGS := $(shell freetype-config --cflags --libs) +FREETYPE_FLAGS := $(shell pkg-config --cflags --libs freetype2) LIBPNG_FLAGS := $(shell pkg-config --cflags --libs libpng16) ttf2png: ttf2png.c -- 2.45.2