Closed fffilimonov closed 1 year ago
Thanks for pointing out!
I don't have any Mac devices at this time, @BennyThink could you help testing this out and update our docs https://github.com/webp-sh/docs.webp.sh/blob/master/content/build.md if needed.
Intel Mac?
brew install vips pkg-config
and make again?brew install libpng
and make again?Yes Intel Mac. I did install vips and pkg-config and did reinstall libpng.
Okay I see. Sadly I don't have Intel Mac. Did the above install work for you?
Yes, adding path to PKG_CONFIG_PATH fix the problem.
Good. Closing this now
error while building on macOS 13.3.1 (22E261): Package libpng was not found in the pkg-config search path.
fixed for now:
export PKG_CONFIG_PATH=$(find /usr/local/Cellar -name 'pkgconfig' -type d | grep lib/pkgconfig | tr '\n' ':' | sed s/.$//)