Closed johnboiles closed 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.
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)
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 thepkg-config
picked up fromPATH
.Any reason not to do this?