turgu1 / EPub-InkPlate

An EPub Reader for the ESP32 based InkPlate e-Ink devices.
224 stars 7 forks source link

Don't hardcode pkg-config fullpath #16

Closed johnboiles closed 1 year ago

johnboiles commented 1 year ago

My pkg-config on macOS is at /opt/homebrew/bin/pkg-config. This change removes hardcoding the full path to /usr/bin/pkg-config so that PlatformIO will just use the pkg-config picked up from PATH.

Any reason not to do this?

turgu1 commented 1 year ago

Don't know really why it was hardcoded. Maybe related to a version of platformio that was not able to find it under Linux.

johnboiles commented 1 year ago

If you needed to hardcode something I wonder if /usr/bin/env pkg-config would work better (though possible it just uses PATH also, I'm not sure)