[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 |
Hello-
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?
Thanks,
Brandon
[1] git://git.kernel.org/pub/scm/linux/kernel/git/agruen/acl.git
- libtool wrapper script changes basename(argv[0]),
Brandon Philips <=