libtool-patches
[Top][All Lists]
Advanced

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

Re: bug in libtool --mode=install with EXEEXT


From: Schleicher Ralph (LLI)
Subject: Re: bug in libtool --mode=install with EXEEXT
Date: Thu, 27 Feb 2003 14:51:36 +0100

Sebastien Sable wrote:

> ../libtool: line 5764: ./test_libbraille.: No such file or directory

Hi,

just ran in the same bug while cross compiling for MinGW on a
HP-UX box.  Here is a patch:


2003-02-27  Ralph Schleicher  <address@hidden>

        * ltmain.in: Only append a dot to the wrapper script when
        building on cygwin/MSYS (check for $build, not $host).


diff -u libtool-20030219/ltmain.in.orig libtool-20030219/ltmain.in
--- libtool-20030219/ltmain.in.orig     Tue Feb 18 18:12:39 2003
+++ libtool-20030219/ltmain.in  Thu Feb 27 14:35:29 2003
@@ -5379,7 +5379,7 @@
          # To insure that "foo" is sourced, and not "foo.exe",
          # finese the cygwin/MSYS system by explicitly sourcing "foo."
          # which disallows the automatic-append-.exe behavior.
-         case $host in
+         case $build in
          *cygwin* | *mingw*) wrapperdot=${wrapper}. ;;
          *) wrapperdot=${wrapper} ;;
          esac
@@ -5417,7 +5417,7 @@
          # To insure that "foo" is sourced, and not "foo.exe",
          # finese the cygwin/MSYS system by explicitly sourcing "foo."
          # which disallows the automatic-append-.exe behavior.
-         case $host in
+         case $build in
          *cygwin* | *mingw*) wrapperdot=${wrapper}. ;;
          *) wrapperdot=${wrapper} ;;
          esac


-- 
Ralph





reply via email to

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