bug-libtool
[Top][All Lists]
Advanced

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

Re: libtool --mode=execute gives LANG not found


From: Ralf Wildenhues
Subject: Re: libtool --mode=execute gives LANG not found
Date: Tue, 10 Apr 2007 21:04:22 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Hello,

* deckrider wrote on Tue, Apr 10, 2007 at 08:13:13PM CEST:
> ltmain.sh (GNU libtool) 1.5.23b (1.1220.2.437 2007/02/17 09:08:45)
> ia64-hp-hpux11.23
> 
> I'm seeing the following behavior:
> 
> $ ./libtool --mode=execute ldd foo
> ./libtool[6827]: LANG:  not found.
[...]

Ouch.  What a brown bag.  Thanks.  I'm applying this obvious fix.

Cheers,
Ralf

2007-04-10  Ralf Wildenhues  <address@hidden>

        * ltmain.in (execute mode): Do not unset locale variables that
        have not been set previously.  Do not use uninitialized
        $lt_unset.  Report by <address@hidden>.

Index: ltmain.in
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/ltmain.in,v
retrieving revision 1.334.2.138
diff -u -r1.334.2.138 ltmain.in
--- ltmain.in   28 Jan 2007 14:19:24 -0000      1.334.2.138
+++ ltmain.in   10 Apr 2007 19:01:21 -0000
@@ -6477,8 +6477,6 @@
       do
        eval "if test \"\${save_$lt_var+set}\" = set; then
                $lt_var=\$save_$lt_var; export $lt_var
-             else
-               $lt_unset $lt_var
              fi"
       done
 




reply via email to

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