Fixed handling of .so and .a libraries specified as input files.
This commit is contained in:
parent
409f7a3b58
commit
da59e93af0
|
@ -430,6 +430,12 @@ static void build(struct options* opts)
|
||||||
case file_obj:
|
case file_obj:
|
||||||
strarray_add(files, strmake("-o%s", file));
|
strarray_add(files, strmake("-o%s", file));
|
||||||
break;
|
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:
|
case file_na:
|
||||||
error("File does not exist: %s", file);
|
error("File does not exist: %s", file);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue