libtool
[Top][All Lists]
Advanced

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

Re: Linking a lib with different shared and static names


From: Peter O'Gorman
Subject: Re: Linking a lib with different shared and static names
Date: Thu, 08 Nov 2007 15:23:10 -0600
User-agent: Thunderbird 2.0.0.5 (X11/20070727)

address@hidden wrote:
> Hi,
> 
> I'm trying to link to a library that uses different names for the static
> and shared versions.
> 
> Example: libABC.so and libABCz.a
> 
> Can someone suggest a way to express this to libtool?  Just passing -lABC
> fails for static links; -lABCz does the wrong thing on dynamic links.

This is something that you will have to deal with in your Makefile or
configure script, either using different rules in the makefile for the
static and dynamic builds, or substituting a different libname at
config.status time depending on the build type.

Peter




reply via email to

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