diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2015-10-30 16:28:46 +0200 |
---|---|---|
committer | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-12-13 17:07:51 +0100 |
commit | c363b8b2a44f216d2481377cfd6c66655270ba73 (patch) | |
tree | 8d7f5c91b95c8615b638f89fdd3b3c894be49683 /giscanner/scannermain.py | |
parent | 0488022dec024293ed4548b6c50d389904fb0ce8 (diff) | |
download | gobject-introspection-c363b8b2a44f216d2481377cfd6c66655270ba73.tar.gz |
giscanner: add a --use-ldd-wrapper option
This is useful in cross-compile environments where system's ldd
command does not work on binaries built for a different architecture
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Diffstat (limited to 'giscanner/scannermain.py')
-rw-r--r-- | giscanner/scannermain.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/giscanner/scannermain.py b/giscanner/scannermain.py index e6c7b47e..4aeb4172 100644 --- a/giscanner/scannermain.py +++ b/giscanner/scannermain.py @@ -123,6 +123,9 @@ def _get_option_parser(): parser.add_option("", "--use-binary-wrapper", action="store", dest="wrapper", default=None, help="wrapper to use for running programs (useful when cross-compiling)") + parser.add_option("", "--use-ldd-wrapper", + action="store", dest="ldd_wrapper", default=None, + help="wrapper to use instead of ldd (useful when cross-compiling)") parser.add_option("", "--program-arg", action="append", dest="program_args", default=[], help="extra arguments to program") |