From b472d53672bb8840511cc6d59316c5ea435a396e Mon Sep 17 00:00:00 2001 From: seyko Date: Thu, 16 Apr 2015 07:30:24 +0300 Subject: clarify error message when library not found a prior error message: cannot find 'program_resolve_lib' after a patch: cannot find library 'libprogram_resolve_lib' --- libtcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libtcc.c') diff --git a/libtcc.c b/libtcc.c index de19a64..90dd185 100644 --- a/libtcc.c +++ b/libtcc.c @@ -846,7 +846,7 @@ LIBTCCAPI int tcc_compile_string(TCCState *s, const char *str) const char *filename = s->files[i] + 1; if (filename[0] == '-' && filename[1] == 'l') { if (tcc_add_library(s, filename + 2) < 0) { - tcc_warning("cannot find '%s'", filename+2); + tcc_warning("cannot find library 'lib%s'", filename+2); ret++; } } -- cgit v1.3.1