summaryrefslogtreecommitdiff
path: root/giscanner/dumper.py
diff options
context:
space:
mode:
authorThibault Saunier <thibault.saunier@osg.samsung.com>2016-11-17 12:01:14 -0300
committerColin Walters <walters@verbum.org>2016-12-10 10:44:23 -0500
commiteea2447c4e4c1c98fda3ba212a9a9bbcc8655c90 (patch)
treed1f6e49563bdb0b8e9a497e1f3142d019992e681 /giscanner/dumper.py
parent36d1a22eefa5020ba75002a2b0c348017c7ab2e3 (diff)
downloadgobject-introspection-eea2447c4e4c1c98fda3ba212a9a9bbcc8655c90.tar.gz
scanner: Add a way to specify extra libraries to link against
Currently the only way to get a library to link against the dumper program is through '--link' which implies that library will be defined in the 'libraries' field of the .gir. When using libtool, we link against dependencies of that library as the .la defines that, but when using --no-libtool that won't happen and the user needs to be able to define to what other libraries the program needs to be link against, and this is what the new --extra-library argument is about. https://bugzilla.gnome.org/show_bug.cgi?id=774625
Diffstat (limited to 'giscanner/dumper.py')
-rw-r--r--giscanner/dumper.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/giscanner/dumper.py b/giscanner/dumper.py
index 3f721598..9077d205 100644
--- a/giscanner/dumper.py
+++ b/giscanner/dumper.py
@@ -259,6 +259,7 @@ class DumpCompiler(object):
self._compiler.get_internal_link_flags(args,
libtool,
self._options.libraries,
+ self._options.extra_libraries,
self._options.library_paths)
args.extend(pkg_config_libs)