aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/test/all_SUITE_data
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2012-05-15 09:55:04 +0200
committerLukas Larsson <[email protected]>2012-05-30 18:22:28 +0200
commite028f0d67498ca61d7b3695c8cc80b48d74bf312 (patch)
tree16bea73d50752632d27b979f898ebe44d57a4306 /lib/erl_interface/test/all_SUITE_data
parentd42881f1a27fb241bd38f4b77c146fb4ad0db4c8 (diff)
downloadotp-e028f0d67498ca61d7b3695c8cc80b48d74bf312.tar.gz
otp-e028f0d67498ca61d7b3695c8cc80b48d74bf312.tar.bz2
otp-e028f0d67498ca61d7b3695c8cc80b48d74bf312.zip
Update gccifier to respect -link option
Diffstat (limited to 'lib/erl_interface/test/all_SUITE_data')
-rw-r--r--lib/erl_interface/test/all_SUITE_data/gccifier.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/erl_interface/test/all_SUITE_data/gccifier.c b/lib/erl_interface/test/all_SUITE_data/gccifier.c
index 9f556fc4ed..a6b8a340a1 100644
--- a/lib/erl_interface/test/all_SUITE_data/gccifier.c
+++ b/lib/erl_interface/test/all_SUITE_data/gccifier.c
@@ -1,7 +1,7 @@
/*
* %CopyrightBegin%
*
- * Copyright Ericsson AB 2005-2009. All Rights Reserved.
+ * Copyright Ericsson AB 2004-2009. All Rights Reserved.
*
* The contents of this file are subject to the Erlang Public License,
* Version 1.1, (the "License"); you may not use this file except in
@@ -16,7 +16,6 @@
*
* %CopyrightEnd%
*
-
*/
/*
@@ -232,6 +231,9 @@ main(int argc, char *argv[])
CHECK_FIRST_LINK_ARG;
save_arg(&link_args, "-libpath:", arg, NULL);
}
+ else if (strcmp("-link",arg) == 0) {
+ CHECK_FIRST_LINK_ARG;
+ }
#endif /* #ifdef __WIN32__ */
else if (is_prefix("-l", &arg)) {
CHECK_FIRST_LINK_ARG;