[Top][All Lists]

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

libtool wrapper script changes basename(argv[0])

From: Brandon Philips
Subject: libtool wrapper script changes basename(argv[0])
Date: Wed, 13 May 2009 08:35:36 -0700


acl[1] uses the libtool wrapper script for getfacl/setfacl to link
them against an in-tree version of libacl. These tools use progname =
basename(argv[0]); to figure out their names for help output, etc. but
the libtool wrapper creates executable named lt-getfacl/lt-setfacl
which changes the output of these programs for my unit tests.

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



[1] git://

reply via email to

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