mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-28 01:23:14 +01:00
Fix #309: allow -of with multiple source files if -singleobj is given.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user