]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Discard --tag options
authorTony Finch <dot@dotat.at>
Tue, 9 Aug 2022 18:02:30 +0000 (19:02 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 15 Aug 2022 19:50:21 +0000 (15:50 -0400)
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.

scripts/jlibtool.c

index 72cd6441691accdbb385aef7d04e725375744458..07989d187a9d9e0f1fe5327c4c7af6e29b5eeafb 100644 (file)
@@ -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;
        }