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 ltmain.sh 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.


Max.



_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to