Use all libraries specified on the command line
authorColin Walters <walters@verbum.org>
Wed, 5 Aug 2009 17:24:23 +0000 (13:24 -0400)
committerColin Walters <walters@verbum.org>
Wed, 5 Aug 2009 17:24:23 +0000 (13:24 -0400)
commit81956adedbc8f3134930b682471faaa1b5e4c9f7
tree3200dc05dcd1ac17eb4e95e0992b9cb3cd544147
parent3571efc047eed05c816d898e732ac92e8bf76673
Use all libraries specified on the command line

Earlier we were only using the first library specified when
compiling an introspection binary.  This breaks builds on Solaris
which doesn't have implicit linking and we need to be able
to specify multiple libraries.

The tension here is primarily related to OS X' distinction between
modules and shared libraries; if we build the custom libraries
in gir-repository as shared libraries, then we can't dlopen them.
If we build them as modules, then the introspection binary compiler
can't link to them.

If we want to fix the OS X build, probably the way to go would be
a special --use-first-library-only option that gets conditionalized
on OS X + gir-repository.

But even better is to finish killing gir-repository entirely.
giscanner/dumper.py