Follow-up Comment #2, sr #106790 (project libtool):

Modules are generally built with something like
  pkg_LTLIBRARIES = foo.la
  foo_la_LDFLAGS = -module -avoid-version

Passing -shared has never been the intended use for libtool,
as that flag is GCC-specific and will not work with other
compilers.  Using foo.so is pretty ELF centric (which is better
than no portability at all of course, but not as much as libtool
would allow for).

Other than that, you can bypass compiler driver flags by the
libtool script with either -Wc,FLAG or -Xcompiler FLAG.

Hope that helps.

Cheers,
Ralf

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/support/?106790>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/



_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to