From 3862c4b57d2a6fbb50c4ace34eab6c1be4591c5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 7 May 2019 15:35:36 +0200 Subject: [PATCH] Manual.md: mention build helper gir GIR_EXTRA_... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Buchmüller --- Manual.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Manual.md b/Manual.md index 9746f333624..ddb388943c8 100644 --- a/Manual.md +++ b/Manual.md @@ -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--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. ### Functions