Fix LDFLAGSF and LDFLAGS
This commit is contained in:
parent
3d6608a4fa
commit
796172377f
@ -359,7 +359,7 @@ static void _binary_ldflags(Configure * configure, Config * config, FILE * fp,
|
||||
snprintf(buf, sizeof(buf), "-l %s", libs[i]);
|
||||
if((q = string_find(p, buf)) == NULL)
|
||||
continue;
|
||||
memmove(q, q+strlen(buf), strlen(buf));
|
||||
memmove(q, q + strlen(buf), strlen(q) - strlen(buf) + 1);
|
||||
}
|
||||
fprintf(fp, "%s%s", p, "\n");
|
||||
free(p);
|
||||
|
Loading…
Reference in New Issue
Block a user