mirror of
https://git.savannah.gnu.org/git/make.git
synced 2025-02-06 06:26:52 +00:00
Formerly remake.c.~41~
This commit is contained in:
parent
633efa004c
commit
37d9554e31
1 changed files with 3 additions and 2 deletions
5
remake.c
5
remake.c
|
@ -1,4 +1,5 @@
|
||||||
/* Copyright (C) 1988, 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
|
/* Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993
|
||||||
|
Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify
|
||||||
|
@ -959,7 +960,7 @@ library_search (lib)
|
||||||
|
|
||||||
for (dp = dirs; *dp != 0; ++dp)
|
for (dp = dirs; *dp != 0; ++dp)
|
||||||
{
|
{
|
||||||
sprintf (buf, "%s/lib%s.a", *dp, libname);
|
sprintf (buf, "%s/lib%s.a", *dp, &(*lib)[2]);
|
||||||
if (name_mtime (buf) != (time_t) -1)
|
if (name_mtime (buf) != (time_t) -1)
|
||||||
{
|
{
|
||||||
*lib = buf;
|
*lib = buf;
|
||||||
|
|
Loading…
Reference in a new issue