diff options
author | Paul Querna <pquerna@apache.org> | 2005-05-24 20:37:20 +0000 |
---|---|---|
committer | Paul Querna <pquerna@apache.org> | 2005-05-24 20:37:20 +0000 |
commit | 78815d79a66bd678f0a108be20022cbde4f9b237 (patch) | |
tree | 5757c508779dcede831a30963d86038ffaf5b165 /build/jlibtool.c | |
parent | 037e3f7587464c8354a329cbc6ea04c191e7bf73 (diff) | |
download | apr-78815d79a66bd678f0a108be20022cbde4f9b237.tar.gz |
jlibtool: Correctly handle the '-MT' flag to set the dependency generation Makefile target.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@178277 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/jlibtool.c')
-rw-r--r-- | build/jlibtool.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build/jlibtool.c b/build/jlibtool.c index b20966403..717bf5610 100644 --- a/build/jlibtool.c +++ b/build/jlibtool.c @@ -1297,6 +1297,17 @@ void parse_args(int argc, char *argv[], command_t *cmd_data) if (arg[1] == 'o' && !arg[2]) { arg = argv[++a]; argused = parse_output_file_name(arg, cmd_data); + } else if (strcmp(arg+1, "MT") == 0) { + if (!cmd_data->options.silent) { + printf("Adding: %s", arg); + } + push_count_chars(cmd_data->arglist, arg); + arg = argv[++a]; + if (!cmd_data->options.silent) { + printf(" %s\n", arg); + } + push_count_chars(cmd_data->arglist, arg); + argused = 1; } else if (strcmp(arg+1, "rpath") == 0) { /* Aha, we should try to link both! */ cmd_data->install_path = argv[++a]; |