bug-libtool
[Top][All Lists]
Advanced

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

libtool --mode=install bug


From: Schleicher Ralph (LLI)
Subject: libtool --mode=install bug
Date: Fri, 17 May 2002 14:27:52 +0200

libtool --version
ltmain.sh (GNU libtool) 1.4.2 (1.922.2.54 2001/09/11 03:33:37)

Hi,

I had problems installing executable files for an i386-pc-mingw32msvc
host.  Please note that the build machine is a hppa2.0-hp-hpux10.20 box.
The command

    libtool --mode=install /usr/bin/install -c foo.exe /usr/bin/foo.exe

failed with the error message

    /usr/bin/install:foo.exe: can not stat `foo.exe'

This is because foo.exe is linked against libdf.la AKA .libs/libdf-4.dll.
Libtool build a wrapper script foo and put the actual executable file in
.libs/foo.exe.  Unfortunately, libtool does not recognize the wrapper
script in install mode because it tests for foo.exe instead of foo.  The
following patch fixes this behavior.

Attachment: ltmain.in.diff
Description: ltmain.in.diff

Attachment: ATT02099.ATT
Description: ATT02099.ATT


reply via email to

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