Hi Scott,

Scott Cantor <[EMAIL PROTECTED]> writes:

> How would you do it? I've never seen any way to avoid them, it's just part
> of libtool being libtool.

I would just have one library (libxerces-c.la) that will directly include
all the sources, something along these lines:

lib_LTLIBRARIES = libxerces-c.la
libxerces_c_la_SOURCES = xercesc/util/Base64.cpp ...

AUTOMAKE_OPTIONS = subdir-objects

Some of the sources should be included conditionally, but this won't be
a problem.

> I ask because they contain hardcoded paths to libraries prior to
> installation in some cases and I have to take extra steps to delete
> them in my projects.

Hm, are we talking about the same thing here? Convenience libraries
(in automake/libtool) are not installed. They just aggregate object
files and are used as input when building the actual library/executable
which is then installed:

http://sources.redhat.com/automake/automake.html#Libtool-Convenience-Libraries


Boris

-- 
Boris Kolpackov, Code Synthesis Tools
Open source XML data binding for C++:   http://codesynthesis.com/products/xsd
Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to