From e025ca0f718c069aa226457b4ab0ea24b4f06c73 Mon Sep 17 00:00:00 2001 From: Jardel Weyrich Date: Sun, 3 Sep 2023 15:54:07 -0300 Subject: [PATCH] Mention how to compile on macOS --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 6e2f34c..2b23ac5 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,10 @@ Install `libpng`: cd imgify make +If you're on macOS, you need to install libpng using [Homebrew](https://brew.sh/) and run `make` using some extra flags. Example: + + CFLAGS="-I$(libpng-config --prefix)/include" LDFLAGS="-L$(libpng-config --prefix)/lib" make + ## Usage ### bin2png