Andreas Jellinghaus <[EMAIL PROTECTED]> writes:

Hi Andreas,

> if I change B/Makefile.am to
>       noinst_LTLIBRARIES=libB.la
> libtool/automake will do what i want.
> libB.a has the non PIC code, .libs/libB.al has the PIC code.

Correct.

> but if I change A1/Makefile.am to
>       libA1_la_LIBADD = $(top_builddir)/B/.libs/libB.al
> then libtool will silently ignore it, and not link
> with libB.al

Wrong, you don't know about the .libs directory (and it's
name is _libs on Windows).

In my projects, libA1_la_LIBADD = ../B/libB.la works as
expected by you.  I'm using libtool 1.5 on Linux, HP-UX,
Solaris, and Windows (MinGW).

-- 
Ralph

4142 days of Linux experience.


_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to