[Top][All Lists]

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

Re: How to disable relink on install?

From: Max Bowsher
Subject: Re: How to disable relink on install?
Date: Sun, 29 Jun 2003 11:59:11 +0100

Gerrit P. Haase wrote:
> Hallo Alex,
>> I'm using libtool 1.4.2 on a redhat 8.0 machine and when do a "make
>> install" in my project libtool relinks all my libs and binaries.
>> How can I disable this? I never run my binaries from the build area,
>> only from the installed prefix.
>> Linking a large C++ binary takes a long time, so I'd like to avoid doing
>> it twice....
> I use libtool on Cygwin.  Usually no relinking is needed on
> Cygwin/Windows.  So I open and edit every .la file in question and
> remove the relink command at the bottom before I run `make install`.

AFAIK, relinking is only done (on any system) to fix up library run paths?

If so, relinking is definitely never required on Windows, because *no* path
information is recorded in executables.

Is there any any combination of libtool configuration variables that will
tell it "never relink"? Last time I looked, I couldn't find such a setting,
so I resorted to disabling that section of code in with a case
statement. I've been meaning to have a closer look and maybe send in a
patch, but I haven't got around to it yet.


reply via email to

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