rhboot / efibootmgr

efibootmgr development tree
GNU General Public License v2.0
519 stars 99 forks source link

Set pkg-config binary as variable #37

Closed tgurr closed 9 years ago

tgurr commented 9 years ago

Allow the location of the pkg-config binary to be set using the parameter PKG_CONFIG. Needed to support cross compilation toolchains.

tgurr commented 9 years ago

This resolves make: pkg-config: Command not found during make when pkg-config is prefixed like e.g. /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-pkg-config in cross environments.

vathpela commented 9 years ago

You missed actually defining it in the non-cross case, but no worries, I've fixed it up and pushed it as 000eb0020c0216544eda17add4d01071c18f2d14 . Thanks!