From d21d9efb920023958ef777db40b51eddf7f5e487 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 14 Apr 2018 12:20:52 +0300 Subject: [PATCH] Update the Makefile to look for libpng16 Libpng12 is quite old and 16 has been the default in Debian stable since last year. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b719c0a..f5bda93 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ CFLAGS := -Wall -Wextra -Werror -std=c89 -pedantic -O2 FREETYPE_FLAGS := $(shell freetype-config --cflags --libs) -LIBPNG_FLAGS := $(shell pkg-config --cflags --libs libpng12) +LIBPNG_FLAGS := $(shell pkg-config --cflags --libs libpng16) ttf2png: ttf2png.c $(CC) $(CFLAGS) $^ -o $@ $(FREETYPE_FLAGS) $(LIBPNG_FLAGS) -- 2.43.0