On 17/10/2026 21:23, Collin Funk wrote:
Pádraig Brady <[email protected]> writes:
I think this would use "ginstall" rather than "install".
Also more generally could misattribute comm in the case where you installed
`./configure --enable-single-binary --program-prefix=g` alongside another
implementation.
In general when copying shebang wrapper scripts to another name,
the basename of that wrapper script should be used.
I.e. it seems better to use this?
prctl (PR_SET_NAME, last_component (prog_argv[0]));
Yep, you are right, and good point. How does the attached patch look?
I've tested it with all of the --single-binary options.
Since the program transformations, e.g., --program-prefix,
--program-transform-name, etc. are applied during installation we have
to create out own binary.
One minor nit. s/framework_faiure_/framework_failure_/
Otherwise LGTM.
thanks,
Padraig