Support passing --library=lib<foo>.la
authorOwen W. Taylor <otaylor@fishsoup.net>
Fri, 14 Aug 2009 03:06:51 +0000 (23:06 -0400)
committerColin Walters <walters@verbum.org>
Mon, 17 Aug 2009 04:22:19 +0000 (00:22 -0400)
commitfa71c815d441ab922b1e5501f534f2c3d1fceef8
treea86335d50e2fe924969ca29c6ef40b6aecdb338e
parentaf6bcb48d777f683384d9b8497e1b0edba5b16e7
Support passing --library=lib<foo>.la

In addition to the current --library=<foo>, support --library=lib<foo>.la.
This makes it unambiguous that we are referencing an uninstalled
library and allows accurate extraction of the shared library name
for the uninstalled library.

* tests/scanner/Makefile.am tests/offsets/Makefile.am: Use the
  new form of --library=. Also some LD_LIBRARY_PATH frobbing as needed.

*-expected.gir *-expected.tgir: We now pick out the shared library
  accurately, so fix shared-library="" in our reference girs. (The
  comparison may need some pre-sanitization now to work on non-ELF)

http://bugzilla.gnome.org/show_bug.cgi?id=591669
15 files changed:
giscanner/dumper.py
giscanner/shlibs.py
giscanner/utils.py
tests/offsets/Makefile.am
tests/scanner/GtkFrob-1.0-expected.gir
tests/scanner/GtkFrob-1.0-expected.tgir
tests/scanner/Makefile.am
tests/scanner/annotation-1.0-expected.gir
tests/scanner/annotation-1.0-expected.tgir
tests/scanner/drawable-1.0-expected.gir
tests/scanner/drawable-1.0-expected.tgir
tests/scanner/foo-1.0-expected.gir
tests/scanner/foo-1.0-expected.tgir
tests/scanner/utility-1.0-expected.gir
tests/scanner/utility-1.0-expected.tgir