automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with libtool convenience libraries and automake


From: Kent Boortz
Subject: Re: Problems with libtool convenience libraries and automake
Date: Tue, 10 Apr 2007 20:19:47 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.2 (darwin)

Ralf Wildenhues <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]