kornelski / pngquant

Lossy PNG compressor — pngquant command based on libimagequant library
https://pngquant.org
Other
5.25k stars 487 forks source link

In configure, --with-libpng doesn't seem to take effect #364

Open csun-mw opened 4 years ago

csun-mw commented 4 years ago

Hi, I'm following the instructions herehttps://pngquant.org/install.html  to build from the source downloaded from Github. When using the options --prefix=CUSTOM_PATH --with-libpng=MY_LIBPNG_DIR with the configure file, though, those options don't seem to take effect.

warning: pkg-config is not installed, can't search for libraries. Please install pkg-config.    libpng: error ... not found (try: brew install libpng)

Any help will be much appreciated.