From aeaff94ec1dba0096d7b943ad7c963d9d574d922 Mon Sep 17 00:00:00 2001 From: "Steven G. Messervey" Date: Wed, 15 Apr 2015 22:56:21 -0400 Subject: implement #pragma comment(lib,...) --- tcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tcc.c') diff --git a/tcc.c b/tcc.c index 748726f..c712144 100644 --- a/tcc.c +++ b/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 { -- cgit v1.3.1