Linking in gwrapguile statically: why?

Hans de Graaff hans@degraaff.org
06 Aug 2000 08:30:51 +0200


Hi,

Currently configure.in wants to link in gwrapguile as a static
library. Is there any good reason for this? I only have the shared
library installed, so I made the following patch to configure.in to
get gnucash to compile:

Index: configure.in
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/configure.in,v
retrieving revision 1.125
diff -r1.125 configure.in
347c347
<   G_WRAP_LINK_ARGS=`${G_WRAP_CONFIG} --c-static-link-args guile`
---
>   G_WRAP_LINK_ARGS=`${G_WRAP_CONFIG} --c-link-args guile`


As far as I can tell this should also work if only a static library is
installed, and thus seems to me to be the better solution, unless I'm
missing something else. Gnucash works fine when linked this way,
though.

Hans