Lines Matching defs:lib
125 /* Given a library name in NAME, i.e. foo. Look first for libfoo.lib and then
132 char *lib, *lib_path;
134 lib = malloc (strlen (name) + 8);
135 strcpy (lib, "lib");
136 strcat (lib, name);
137 strcat (lib, ".lib");
138 lib_path = locate_file (lib, search_dirs);
141 strcpy (lib, "lib");
142 strcat (lib, name);
143 strcat (lib, ".a");
144 lib_path = locate_file (lib, search_dirs);
149 "Couldn't locate library: lib%s.a or lib%s.lib\n", name, name);