automake
[Top][All Lists]
Advanced

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

Re: building libtool library into other directory


From: Bob Friesenhahn
Subject: Re: building libtool library into other directory
Date: Sat, 22 Jan 2005 16:14:00 -0600 (CST)

On Sat, 22 Jan 2005, Vance Shipley wrote:


I have this directory structure in my project:

        project/
                ...
                src/
                lib/

I would like to have the libraries built from the sources
in src be built into lib.  When I try to put a directory
prefix on to teh automake directives things get confused.

Can I do this?

Yes, however, when you define the library targets you must substitute every / with _ so a path like:

/lib

is represented like

_lib

to Automake.

You may encounter some libtool bugs when building libraries in subdirectories. The bugs are more likely to be encountered when building C++ with "vendor" compilers than C.

Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen




reply via email to

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