libtool
[Top][All Lists]
Advanced

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

Re: libtool wrapper script changes basename(argv[0])


From: Charles Wilson
Subject: Re: libtool wrapper script changes basename(argv[0])
Date: Thu, 14 May 2009 00:55:22 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666

Brandon Philips wrote:

> Is there a way to make the libtool wrapper create an executable with
> the same "progname" as the final executable?

Not that I know of.  However, the Smart People[tm] over at the gnulib
project seem to simply work around it.  In the their progname module:

http://git.savannah.gnu.org/cgit/gnulib.git/tree/lib/progname.c

they explicitly check for /.libs/lt- and strip it.

--
Chuck




reply via email to

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