summaryrefslogtreecommitdiff
path: root/src/logic/linkcmd/slbt_linkcmd_argv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/logic/linkcmd/slbt_linkcmd_argv.c')
-rw-r--r--src/logic/linkcmd/slbt_linkcmd_argv.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/logic/linkcmd/slbt_linkcmd_argv.c b/src/logic/linkcmd/slbt_linkcmd_argv.c
index a0c342c..e50f6d9 100644
--- a/src/logic/linkcmd/slbt_linkcmd_argv.c
+++ b/src/logic/linkcmd/slbt_linkcmd_argv.c
@@ -170,7 +170,8 @@ slbt_hidden bool slbt_adjust_object_argument(
slbt_hidden bool slbt_adjust_wrapper_argument(
char * arg,
- bool fpic)
+ bool fpic,
+ const char * suffix)
{
char * slash;
char * dot;
@@ -199,7 +200,7 @@ slbt_hidden bool slbt_adjust_wrapper_argument(
dot = strrchr(arg,'.');
}
- strcpy(dot,".a");
+ strcpy(dot,suffix);
return true;
}