diff options
Diffstat (limited to 'giscanner/dumper.py')
-rw-r--r-- | giscanner/dumper.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/giscanner/dumper.py b/giscanner/dumper.py index c3a7be7b..773dec95 100644 --- a/giscanner/dumper.py +++ b/giscanner/dumper.py @@ -216,9 +216,6 @@ 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=.') @@ -229,6 +226,9 @@ class DumpCompiler(object): else: args.append('-l' + library) + for library_path in self._options.library_paths: + args.append('-L' + library_path) + args.extend(self._run_pkgconfig('--libs')) for source in sources: if not os.path.exists(source): |