proot-me / proot

chroot, mount --bind, and binfmt_misc without privilege/setup for Linux
https://proot-me.github.io
GNU General Public License v2.0
1.96k stars 369 forks source link

Support overriding ld/pkg-config commands #361

Open nya3jp opened 1 year ago

nya3jp commented 1 year ago

This patch adds new make variables, LD_CMD and PKG_CONFIG, to allow overriding command invocations when using prefixed toolchains. Usually it is enough to set CROSS_COMPILE though.

Fixes #359.