mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-04 17:11:44 +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
|
||||
{
|
||||
if (global.params.objname && files.dim > 1)
|
||||
if (global.params.objname && files.dim > 1 && !singleObj)
|
||||
{
|
||||
error("multiple source files, but only one .obj name");
|
||||
fatal();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue