When building per opener base libraries, don't add global library bases

Previously the condition was for libraries that have relative linker libs,
but linker libs are not influencing libraries themselves, so the condition
was weird and there was no explanation why such functionality was
introduced.
This commit is contained in:
deadwood 2024-04-22 15:31:14 +02:00
parent e156fc7832
commit 1a3030c56e
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ void writemakefile(struct config *cfg)
fprintf(out, "%s_CPPFLAGS +=", moduleversname);
for (s = cfg->rellibs; s ; s = s->next)
fprintf(out, " -D__%s_RELLIBBASE__", upname(s->s));
if (cfg->options & OPTION_RELLINKLIB)
if (cfg->options & OPTION_DUPBASE)
fprintf(out, " -D__%s_NOLIBBASE__", upname(cfg->modulename));
fprintf(out, "\n");
fprintf(out, "%s_LINKLIBCPPFLAGS +=", moduleversname);