Closed Nymphium closed 1 year ago
When using system in action clause, it runs /path/to/bin/sh -c 'pkg-config protobuf --variable=includedir'. This PR changes to run pkg-config directly (/path/to/bin/pkg-config protobuf --variable=includedir) on the current PATH.
system
action
/path/to/bin/sh -c 'pkg-config protobuf --variable=includedir'
pkg-config
/path/to/bin/pkg-config protobuf --variable=includedir
PATH
When using
system
inaction
clause, it runs/path/to/bin/sh -c 'pkg-config protobuf --variable=includedir'
. This PR changes to runpkg-config
directly (/path/to/bin/pkg-config protobuf --variable=includedir
) on the currentPATH
.