mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-05 09:31:03 +03:00
Fix #309: allow -of with multiple source files if -singleobj is given.
This commit is contained in:
parent
7815318f9b
commit
a05ed9a171
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ int main(int argc, char** argv)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (global.params.objname && files.dim > 1)
|
if (global.params.objname && files.dim > 1 && !singleObj)
|
||||||
{
|
{
|
||||||
error("multiple source files, but only one .obj name");
|
error("multiple source files, but only one .obj name");
|
||||||
fatal();
|
fatal();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue