fix target name not written when not overridden

This commit is contained in:
Julian Daube 2017-10-09 14:35:53 +02:00
parent 98b44ec923
commit 640046ee1e

View File

@ -378,11 +378,8 @@ int main(int argc, char ** args) {
if (!openOutfile(outfile)) { if (!openOutfile(outfile)) {
continue; // just skip this file continue; // just skip this file
} }
}
// check for target override writeTarget(outfile, filename);
if (config.targetName.empty()) {
config.targetName = filename;
} }
for (auto it = list.begin(); it != list.end(); it++) { for (auto it = list.begin(); it != list.end(); it++) {