View | Details | Raw Unified | Return to bug 13039
Collapse All | Expand All

(-)/tmp/make/arch.c (-2 / +2 lines)
Lines 118-124 Link Here
118
static void ArchFree __P((ClientData));
118
static void ArchFree __P((ClientData));
119
static struct ar_hdr *ArchStatMember __P((char *, char *, Boolean));
119
static struct ar_hdr *ArchStatMember __P((char *, char *, Boolean));
120
static FILE *ArchFindMember __P((char *, char *, struct ar_hdr *, char *));
120
static FILE *ArchFindMember __P((char *, char *, struct ar_hdr *, char *));
121
#if defined(__svr4__) || defined(__SVR4)
121
#if defined(__svr4__) || defined(__SVR4) || defined(__ELF__)
122
#define SVR4ARCHIVES
122
#define SVR4ARCHIVES
123
static int ArchSVR4Entry __P((Arch *, char *, size_t, FILE *));
123
static int ArchSVR4Entry __P((Arch *, char *, size_t, FILE *));
124
#endif
124
#endif
Lines 474-480 Link Here
474
     * the comparisons easier...
474
     * the comparisons easier...
475
     */
475
     */
476
    cp = strrchr (member, '/');
476
    cp = strrchr (member, '/');
477
    if (cp != (char *) NULL) {
477
    if (cp != (char *) NULL && strcmp(member, RANLIBMAG) != 0) {
478
	member = cp + 1;
478
	member = cp + 1;
479
    }
479
    }
480
480
(-)/tmp/make/config.h (+4 lines)
Lines 114-117 Link Here
114
# ifndef RANLIBMAG
114
# ifndef RANLIBMAG
115
#  define RANLIBMAG "__.SYMDEF"
115
#  define RANLIBMAG "__.SYMDEF"
116
# endif
116
# endif
117
#else
118
# ifndef RANLIBMAG
119
#  define RANLIBMAG "/"
120
# endif
117
#endif
121
#endif

Return to bug 13039