Re: [GObject-Introspection] Doubt about GIR files generation



On 07/03/13 13:04, Alejandro T. Colombini wrote:
if any symbol name has been added or modified in the version
being build, libtool complains about undefined references to these
symbols while linking. It happens only during the g-ir-scanner
execution and doesn't in the regular linking of the library. May it be
something about g-ir-scanner looking for the libraries in the system
first and then in the build tree?

Sounds as though the program compiled by the scanner is being linked
against the system copy rather than the just-installed copy. Have you
set "YourLibrary_1_0_gir_LIBS = libyour-library.la" in the Makefile.am
that controls scanning? That's what telepathy-glib does, and it seems to
result in picking up the local library correctly.

    S


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]