summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>2001-08-17 16:16:49 +0000
committerbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>2001-08-17 16:16:49 +0000
commit5100ad6a5b92bd2ada00d1d572305d471922b99a (patch)
treeae022d7996bfb7517deaeeaf0b970c9065c65a40 /build
parent43e99ba4ba0797fec1a4d821e0b9366784096535 (diff)
downloadlibapr-5100ad6a5b92bd2ada00d1d572305d471922b99a.tar.gz
OS/2: -Zstack takes a parameter which must also be removed when "linking" a
static library. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62193 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rw-r--r--build/aplibtool.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/aplibtool.c b/build/aplibtool.c
index 8436b8b8f..f670ce5ed 100644
--- a/build/aplibtool.c
+++ b/build/aplibtool.c
@@ -435,6 +435,10 @@ void post_parse_fixup(cmd_data_t *cmd_data)
cmd_data->arglist[a+1] = NULL;
}
+ if (strcmp(arg, "-Zstack") == 0 && a+1 < cmd_data->num_args) {
+ cmd_data->arglist[a+1] = NULL;
+ }
+
if (strcmp(arg, "-o") == 0) {
a++;
}