Fixed handling of .so and .a libraries specified as input files.

This commit is contained in:
Alexandre Julliard 2004-03-31 00:56:14 +00:00
parent 409f7a3b58
commit da59e93af0
1 changed files with 6 additions and 0 deletions

View File

@ -430,6 +430,12 @@ static void build(struct options* opts)
case file_obj:
strarray_add(files, strmake("-o%s", file));
break;
case file_arh:
strarray_add(files, strmake("-a%s", file));
break;
case file_so:
strarray_add(files, strmake("-s%s", file));
break;
case file_na:
error("File does not exist: %s", file);
break;