Ralf Wildenhues <[EMAIL PROTECTED]> writes:
> 2) If you want a static library installed, and a convenience library for
> subsuming stuff in other libs, then just create both as separate
> entities.  The name of the second one will remain local to your package.
> The downside of this is one extra `libtool', `ar' and `ranlib' invocation.
>
> ===  libstatdir/Makefile.am ===
> pkglib_LTLIBRARIES = libstat.la
> noinst_LTLIBRARIES = libconv.la
> libstat_la_LDFLAGS = -static
> libstat_la_SOURCES = ...
> libconv_la_SOURCES = $(libstat_la_SOURCES)
>
> ===  libdyndir/Makefile.am ====
> pkglib_LTLIBRARIES = libdyn.la
> libdyn_la_SOURCES  = libdyn.c
> libdyn_la_LIBADD   = $(top_builddir)/libstatdir/libconv.la
>
> Hope that helps.

Yes it does, thanks!

kent

-- 
Kent Boortz, Senior Software Developer
MySQL AB, www.mysql.com
Office: +46 18 174400 ext. 4450 (VoIP)
Office: +46 19 182931
Mobile: +46 70 2791171


Reply via email to