cl65 now links against none.lib when using --target none

This commit is contained in:
bauen1
2018-01-04 17:11:44 +01:00
parent 4759d3956e
commit 60c68b1111

View File

@@ -380,9 +380,6 @@ static void CmdPrint (CmdDesc* Cmd, FILE* F)
static void SetTargetFiles (void)
/* Set the target system files */
{
/* Determine the names of the target specific library file */
if (Target != TGT_NONE) {
/* Get a pointer to the system name and its length */
const char* TargetName = GetTargetName (Target);
unsigned TargetNameLen = strlen (TargetName);
@@ -391,8 +388,6 @@ static void SetTargetFiles (void)
TargetLib = xmalloc (TargetNameLen + 4 + 1);
memcpy (TargetLib, TargetName, TargetNameLen);
strcpy (TargetLib + TargetNameLen, ".lib");
}
}