From: Tony Finch Date: Tue, 9 Aug 2022 18:02:30 +0000 (+0100) Subject: Discard --tag options X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d70c46abecf57dc4f85543f434399e0e307dc1c6;p=thirdparty%2Ffreeradius-server.git Discard --tag options The BIND9 build system puts the --tag option at the start of the libtool command-line. With jlibtool this resulted in the erroneous command `sh -c "--tag=..."`. The help text says that jlibtool ignores --tag; this commit changes jlibtool to strip --tag rather than passing it through. --- diff --git a/scripts/jlibtool.c b/scripts/jlibtool.c index 72cd6441691..07989d187a9 100644 --- a/scripts/jlibtool.c +++ b/scripts/jlibtool.c @@ -1166,6 +1166,8 @@ static int parse_long_opt(char const *arg, command_t *cmd) print_config(value); exit(0); + } else if (strcmp(var, "tag") == 0) { + DEBUG("discard --tag=%s\n", value); } else { return 0; }