dumper: Differentiate between "external" and "internal" linking
authorColin Walters <walters@verbum.org>
Wed, 20 Oct 2010 14:42:17 +0000 (10:42 -0400)
committerColin Walters <walters@verbum.org>
Thu, 11 Nov 2010 22:12:53 +0000 (17:12 -0500)
commit19040edfd027b86ac60139557cc5dee5dbd7fc04
tree3f9cb80eef2a20f8259d497b02a340a6162da6d0
parent57ef2d4fe73c5cdf8500c5761c700638943d1c7d
dumper: Differentiate between "external" and "internal" linking

The previous commit aea515709 broke scanning for libraries not
in the current directory, such as scanning Gio from gobject-introspection.

In this case, it's wrong to add -L., and to move the other -L behind
the library.  Instead, we should just do a "normal" link using
pkg-config --libs with few games.

https://bugzilla.gnome.org/show_bug.cgi?id=632701
Makefile-gir.am
giscanner/dumper.py
giscanner/scannermain.py