bug-libtool
[Top][All Lists]
Advanced

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

bug#10359: libtool changing basename(argv[0])


From: Lucas De Marchi
Subject: bug#10359: libtool changing basename(argv[0])
Date: Fri, 23 Dec 2011 02:12:34 -0200

On Fri, Dec 23, 2011 at 1:51 AM, Lucas De Marchi
<address@hidden> wrote:
> Hey all,
>
> In one of my projects I rely on basename(argv[0]) to know what to do
> in the application (because it can be called from compat symlinks).
> With libtool 2.4.2 I'm having an issue that basename(argv[0]) returns
> lt-progname instead of just progname. Another developer has libtool
> 2.4 and does not have this problem.
>
> Is this a regression from 2.4? Googling shows me some similar problem
> but with older versions (~ 2009)

Checking the source code.... the following change fixes the problem
for me, but I'm not sure if it's the right fix.

thanks
Lucas De Marchi

Attachment: 0001-Do-not-change-argv-0-to-lt-progname.patch
Description: Text Data


reply via email to

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