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  <[EMAIL PROTECTED]>

        * 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



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

Reply via email to