Subject: Re: bug#9316: AIX and JNI: *.so versus *.a

From: "Daniel Richard G." <[email-masked]>
Date: Sat, 20 Aug 2011 00:23:17 -0400

On Fri, 2011 Aug 19 22:55-0500, Peter O'Gorman wrote:
>
> If you add -Wl,-brtl to LDFLAGS at configure time, libtool will build
> plain .so's

Interesting. This bit from doc/notes.txt in the Libtool source
distribution seems relevant:

   * On AIX there are two different styles of shared linking, one in
     which symbols are bound at link-time and one in which symbols are
     bound at runtime only, similar to ELF.  In case of doubt use
     `LDFLAGS=-Wl,-brtl' for the latter style.

Why isn't Libtool itself already adding this flag when -module is
specified?