channel/banner/tools: if on macos, search for libpng in homebrew libs

This commit is contained in:
Joshua Peisach 2024-05-22 17:33:08 -04:00
parent b94ef47d73
commit a13a930776
No known key found for this signature in database
GPG Key ID: 41C3D4189AFEDB5A

View File

@ -1,6 +1,10 @@
CFLAGS = -O3 -Wall -I/usr/local/include -L/usr/local/lib
ifeq ($(shell uname), Darwin)
CFLAGS += -I/opt/homebrew/include -L/opt/homebrew/lib
endif
CC = $(PREFIX)gcc
STRIP = $(PREFIX)strip