Linking the shared library FOO.la against the loadable module
linux at codehelp.co.uk
Tue Sep 6 13:52:25 EDT 2005
Just revisiting this:
This turns out to be one of the problems getting CVS GnuCash to compile on
MacOSX. So whereas it's only a warning on GNU/Linux, it halts the build on
The fix is to remove LDFLAGS=-module line in the Makefile.am's in these
Where LDFLAGS is also used for GWRAP, just removing the -module prefix from
the line is sufficient.
Followed by a make clean before make.
From other projects, this appears to crop up if you move from LDFLAGS to
DYNAMIC_FLAG - could that be the problem?
I can find few references to what LDFLAGS=-module actually does, except this
> And a last question, what's the difference between a MODULE and a SHARED
> lib ? Is MODULE intended to be used for plugins ?
This is mainly used for Mac OSX where there is a distinction between
modules (.so) and shared libraries (.dylib). Modules on OSX can link to
libraries but nothing can link to modules. They are meant for plugins.
Seems strange to me.
Any clues as to what's going on?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20050906/7af6f31a/attachment.bin
More information about the gnucash-devel