libtool-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] branch-1-5 relinking problem


From: Gary V. Vaughan
Subject: Re: [PATCH] branch-1-5 relinking problem
Date: Fri, 26 Sep 2003 12:40:50 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030903 Thunderbird/0.2

Nick Hudson wrote:
I ran into a problem trying to convert NetBSD/pkgsrc to libtool-1-5 which I fixed with this patch. Is this correct?

It does appear to be correct. Can you supply a simple test case, just so I can be sure before I commit anything?

Index: ltmain.in
===================================================================
RCS file: /cvsroot/libtool/libtool/ltmain.in,v
retrieving revision 1.334.2.7
diff -u -r1.334.2.7 ltmain.in
--- ltmain.in   31 Jul 2003 20:46:40 -0000      1.334.2.7
+++ ltmain.in   26 Sep 2003 09:05:08 -0000
@@ -5393,7 +5393,7 @@
          # At present, this check doesn't affect windows .dll's that
          # are installed into $libdir/../bin (currently, that works fine)
          # but it's something to keep an eye on.
-         if test "$inst_prefix_dir" = "$destdir"; then
+         if test "$inst_prefix_dir" != "$destdir"; then
            $echo "$modename: error: cannot install \`$file' to a directory not ending in 
$libdir" 1>&2
            exit 1
          fi

--
  ())_.  Gary V. Vaughan    gary@(lilith.warpmail.net|gnu.org)
  ( '/   Research Scientist http://www.oranda.demon.co.uk       ,_())____
  / )=   GNU Hacker         http://www.gnu.org/software/libtool  \'      `&
`(_~)_   Tech' Author       http://sources.redhat.com/autobook   =`---d__/





reply via email to

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