summaryrefslogtreecommitdiff
path: root/remake.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-01-15 18:06:22 +0000
committerRoland McGrath <roland@redhat.com>1993-01-15 18:06:22 +0000
commit37d9554e311b0731bbf78c4d2b6fe20861fcc6a8 (patch)
tree0e5104bb0107335f613c8b3eca6fbaaf4799d918 /remake.c
parent633efa004c07b51293ace5c3c7072d131eb1d175 (diff)
downloadgunmake-37d9554e311b0731bbf78c4d2b6fe20861fcc6a8.tar.gz
Formerly remake.c.~41~
Diffstat (limited to 'remake.c')
-rw-r--r--remake.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/remake.c b/remake.c
index b222e3e..5131ee8 100644
--- a/remake.c
+++ b/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.
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)
{
- sprintf (buf, "%s/lib%s.a", *dp, libname);
+ sprintf (buf, "%s/lib%s.a", *dp, &(*lib)[2]);
if (name_mtime (buf) != (time_t) -1)
{
*lib = buf;