[Gnucash-changes] r13557 - gnucash/trunk - Add more linker flags, necessary for some platforms (windows)

Christian Stimming stimming at tuhh.de
Fri Mar 10 05:06:07 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Oops, I take everything back:

Christian Stimming schrieb:
>>>>  libgncmod_app_utils_la_LIBADD = \
>>>>    ${top_builddir}/src/gnc-module/libgncmodule.la \
>>>>    ${top_builddir}/src/engine/libgncmod-engine.la \
>>>> +  ${top_builddir}/src/engine/libgw-engine.la \
>>> I'm concerned about this link.  None of the gnc module libraries
>>> should depend on a libgw library.  What are we using that depends on
>>> this?

libgncmod-app-utils uses e.g. gnc_scm_to_numeric in
app-utils/guile-util.c . gnc_scm_to_numeric is defined in
libgw-engine.so. So libgncmod-app-utils has to link against libgw-engine.la

It used to not have to directly link against this only because
libgncmod-engine used to link against libgw-engine, but as we discussed
on IRC, this shouldn't be the case in the first place and that's why I
removed that link in http://svn.gnucash.org/trac/changeset/13558

As long as app-utils/guile-utils.c uses functions from libgw-engine,
libgncmod-app-utils needs to link against libgw-engine. Changed again in
 r13580.

Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRBFPj2XAi+BfhivFAQJyDAQAkR2s3K2lOr8y3A0pSiKCSIBxV13229jk
bMeCx89jhVs7uu+DY7yL6puOsV/tGeQplFHItdP04t0Pzc8DiHMwqo2/3uUMvNTM
SH8nioIAs83NpuszsBJatx+eaOCE74h3pVu6COoBsFufYagbqASE8rzFpUNFwq47
QIoo2TxhSac=
=5N7K
-----END PGP SIGNATURE-----


More information about the gnucash-devel mailing list