summaryrefslogtreecommitdiff
path: root/giscanner/dumper.py
diff options
context:
space:
mode:
authorPavel Holejsovsky <pavel.holejsovsky@gmail.com>2010-09-30 11:37:06 +0200
committerJohan Dahlin <johan@gnome.org>2010-10-03 10:03:45 -0300
commit4d0ccdadeca597095a0d1b7e1c66c57ea8e0d7f0 (patch)
treef384bad56c692658d34ce2f26ce9669876145b26 /giscanner/dumper.py
parent04b48834511757f406fb7d0f4e8ace8fbe078ecd (diff)
downloadgobject-introspection-4d0ccdadeca597095a0d1b7e1c66c57ea8e0d7f0.tar.gz
Honor -L commandline option.
Diffstat (limited to 'giscanner/dumper.py')
-rw-r--r--giscanner/dumper.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/giscanner/dumper.py b/giscanner/dumper.py
index 2da95ac2..a552397f 100644
--- a/giscanner/dumper.py
+++ b/giscanner/dumper.py
@@ -207,6 +207,9 @@ class DumpCompiler(object):
# Search the current directory first
args.append('-L.')
+ for library_path in self._options.library_paths:
+ args.append('-L' + library_path)
+
# https://bugzilla.gnome.org/show_bug.cgi?id=625195
if not libtool:
args.append('-Wl,-rpath=.')