libtool-patches
[Top][All Lists]
Advanced

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

Re: Latest Windows tests status


From: Charles Wilson
Subject: Re: Latest Windows tests status
Date: Tue, 12 Oct 2004 00:31:36 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 MultiZilla/1.6.4.0b

Peter O'Gorman wrote:
Long ago I added a special "don't relink on darwin" flag, hardcode_automatic, does setting _LT_TAGVAR(hardcode_automatic, $1)=yes for cygwin/mingw help?

Nah, turns out I was on the wrong track. It was actually a fairly simple path problem. (See attached patch).

Now, libtool-b2.0 passes all tests on cygwin.

====================
All 108 tests passed
====================


As far as I can tell, my version differs from branch-2.0 only by the attached patch, and
  6-csw-cygwin-do-not-relink.patch
posted here:
http://lists.gnu.org/archive/html/libtool-patches/2004-10/msg00171.html

--
Chuck

2004-10-11  Charles Wilson  <spam.protected>

        * config/ltmain.m4sh: add foo/bin for every foo/lib 
        in dllsearchpath when creating wrapper script.  Fixes
        depdemo-relink test failure.
Index: config/ltmain.m4sh
===================================================================
RCS file: /cvsroot/libtool/libtool/config/ltmain.m4sh,v
retrieving revision 1.1.2.6
diff -u -r1.1.2.6 ltmain.m4sh
--- config/ltmain.m4sh  11 Oct 2004 04:15:12 -0000      1.1.2.6
+++ config/ltmain.m4sh  12 Oct 2004 04:05:35 -0000
@@ -2543,10 +2543,15 @@
        esac
        case $host in
        *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
+         testbindir=`${ECHO} "$dir" | ${SED} -e 's*/lib$*/bin*'`
          case :$dllsearchpath: in
          *":$dir:"*) ;;
          *) dllsearchpath="$dllsearchpath:$dir";;
          esac
+         case :$dllsearchpath: in
+         *":$testbindir:"*) ;;
+         *) dllsearchpath="$dllsearchpath:$testbindir";;
+         esac
          ;;
        esac
        continue
@@ -5370,10 +5384,15 @@
        fi
        case $host in
        *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
+         testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'`
          case :$dllsearchpath: in
          *":$libdir:"*) ;;
          *) dllsearchpath="$dllsearchpath:$libdir";;
          esac
+         case :$dllsearchpath: in
+         *":$testbindir:"*) ;;
+         *) dllsearchpath="$dllsearchpath:$testbindir";;
+         esac
          ;;
        esac
       done

reply via email to

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