Hi Nitesh,

* Nitesh Soni (NC/TNT) wrote on Wed, Oct 26, 2005 at 11:53:32PM CEST:
> 
> I am using libtool to build static and shared libraries. Now, I have
> run into the following problem.
> 
> Lets say I am building a library "libX.la". This library is a
> collection of other libraries and NO source files.  Eg.
> 
> In my Makefile.am I have something like:
> 
> libX_la_SOURCES = 
> 
> libX_la_LIBADD = libY.la
> libX_la_LIBADD += libZ.la
> 
> Now, when I build this library using libtool, I get the following output: 
> 
> libtool --tag=CC --mode=link gcc -o libX.la libY.la libZ.la
> 
> gcc -shared -o.libs/libX.so .libs/libY.so .libs/libZ.so
> 
> ar cru .libs/libX.a
> ranlib .libs/libX.a
> 
> As you can see, its building the shared library but not the static archive.

Thank you for the bug report.  I need a little more information to
reproduce it:
- What does `./libtool --version' and `./libtool --config' say?
- Are libY.la and libZ.la convenience archives or to-be-installed
  libraries?  I.e., in Automake terms, are they noinst_LTLIBRARIES
  or something else?

Cheers,
Ralf


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

Reply via email to