summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1999-10-10 20:39:36 +0000
committerjulian <julian@FreeBSD.org>1999-10-10 20:39:36 +0000
commite65181e2d2f2f31bf2b7536ef73c9df40287d0cc (patch)
tree5d779bd15717df795576250b0e47470b1c9417f6 /usr.bin/make
parent855a7db95abb4de523c7b1c45f04c7de0791584e (diff)
downloadFreeBSD-src-e65181e2d2f2f31bf2b7536ef73c9df40287d0cc.zip
FreeBSD-src-e65181e2d2f2f31bf2b7536ef73c9df40287d0cc.tar.gz
Fix the following:
It appears that make fails to read the global symbol table of the archive file, making it think that the library needs to be rebuilt. fix supplied in PR: PR: bin/14167 Submitted by: Sebastian Lederer <lederer@bonn-online.com> Reviewed by: gallatin@FreeBSD.ORG
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/arch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/arch.c b/usr.bin/make/arch.c
index 302777a..7ae642a 100644
--- a/usr.bin/make/arch.c
+++ b/usr.bin/make/arch.c
@@ -807,7 +807,7 @@ ArchFindMember (archive, member, arhPtr, mode)
* the comparisons easier...
*/
cp = strrchr (member, '/');
- if (cp != (char *) NULL) {
+ if ((cp != NULL) && (strcmp(member, RANLIBMAG) != 0)) {
member = cp + 1;
}
len = tlen = strlen (member);
OpenPOWER on IntegriCloud