|
|
|
@ -3966,8 +3966,12 @@ static void expand_section_references(struct card *c, const char *dir_name) |
|
|
|
fprintf(stdout, "\nLibrary\n%s\nsaved to %s\n", p->line + 9, filename); |
|
|
|
tfree(filename); |
|
|
|
} |
|
|
|
else if (ciprefix(".lib", c->line)) |
|
|
|
else if (ciprefix(".lib", c->line)) { |
|
|
|
/* add SOA check info direcly after inserting the library */ |
|
|
|
if (cp_getvar("soacheck", CP_BOOL, NULL, 0)) |
|
|
|
insert_new_line(c, copy(".param SWSOA=1"), c->linenum + 1, 0, "internal"); |
|
|
|
c = expand_section_ref(c, dir_name); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|