implement #pragma comment(lib,...)
This commit is contained in:
2
tcc.c
2
tcc.c
@ -317,7 +317,7 @@ int main(int argc, char **argv)
|
||||
const char *filename = s->files[i] + 1;
|
||||
if (filename[0] == '-' && filename[1] == 'l') {
|
||||
if (tcc_add_library(s, filename + 2) < 0) {
|
||||
tcc_error_noabort("cannot find '%s'", filename);
|
||||
tcc_error_noabort("cannot find '%s'", filename+2);
|
||||
ret = 1;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user