Manual.md: mention build helper gir GIR_EXTRA_...

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2019-05-07 15:35:36 +02:00
parent f636a5f078
commit 3862c4b57d
No known key found for this signature in database
GPG Key ID: DE55AD8DBEBB4EE8
1 changed files with 6 additions and 1 deletions

View File

@ -913,7 +913,12 @@ The current list of available `build_helper` scripts is the following:
for compiling cargo -sys crates.
- `gir` specifies dependencies for native and cross builds to deal with
GObject Introspection
GObject Introspection. The following variables may be set in the template to handle
cross builds which require additional hinting or exhibit problems. `GIR_EXTRA_LIBS_PATH` defines
additional paths to be searched when linking target binaries to be introspected.
`GIR_EXTRA_OPTIONS` defines additional options for the `g-ir-scanner-qemuwrapper` calling
`qemu-<target_arch>-static` when running the target binary. You can for example specify
`GIR_EXTRA_OPTIONS="-strace"` to see a trace of what happens when running that binary.
<a id="functions"></a>
### Functions