Oron Peled wrote:
It's basically the same case as any dlopen'ed module, where the
application may elect any name it likes, but with a (platform
dependent) suffix (.so in the Linux case)
Libtool has a standard '-module' option for this which is used during
linking (--mode=link) and weirdly enough is passed as an argument *after*
the gcc argument (but parsed and handled by libtool... hmmm).
For the details you'd want to look at:
info libtool dlopen building
At first I marked this email for "future look at", because I couldn't
find the man page in question (and, yes, I did try going through the
info area). I then googled. The following automake makefile does,
indeed, solve ALL of my problems:
pluginsdir_LTLIBRARIES = plugin.la
plugin_la_SOURCES = whatever
plugin_la_LDFLAGS = -module -avoid-version
This prevents any warnings, and compiles a file that does not have a
name beginning with "lib", and does not have an SONAME (or, rather, has
an SONAME that does not contain a version). Thanks!
Now I'm wondering what other options libtool has that do not appear in
either libtool --help nor at the manual.
Shachar
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]