This allows for much easier cross compiler configuration for tools like LLVM. This patch does honor the 'native' keyword, and falls back to searching PATH if the binary name is not specified. I'd be fine with either removing the fallback behavior, or marking it as deprecated and removing it later. Fixes #2921pull/2935/merge
parent
5f3c282e6e
commit
bcc3cbb93e
2 changed files with 27 additions and 1 deletions
@ -0,0 +1,13 @@ |
|||||||
|
# Config-Tool based dependencies can be specified in a cross file |
||||||
|
|
||||||
|
Tools like LLVM and pcap use a config tool for dependencies, this is a script |
||||||
|
or binary that is run to get configuration information (cflags, ldflags, etc) |
||||||
|
from. |
||||||
|
|
||||||
|
These binaries may now be specified in the `binaries` section of a cross file. |
||||||
|
|
||||||
|
```dosini |
||||||
|
[binaries] |
||||||
|
cc = ... |
||||||
|
llvm-config = '/usr/bin/llvm-config32' |
||||||
|
``` |
Loading…
Reference in new issue