From e57388cc7e7113570c29cb3996ed6ce8e1a1e509 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Sun, 26 Apr 1998 15:18:30 +0000 Subject: [PATCH] Link with -lc when building afslib.so (this seems to be required with AIX 4.3). git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4823 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/kafs/Makefile.am | 2 +- lib/kafs/Makefile.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/kafs/Makefile.am b/lib/kafs/Makefile.am index 6cf744801..d5751ca81 100644 --- a/lib/kafs/Makefile.am +++ b/lib/kafs/Makefile.am @@ -29,6 +29,6 @@ libkafs_a_SOURCES = afssys.c afskrb.c afskrb5.c common.c # AIX: this almost works with gcc, but somehow it fails to use the # correct ld, use ld instead afslib.so: afslib.o - ld -o $@ -bM:SRE -bI:$(srcdir)/afsl.exp -bE:$(srcdir)/afslib.exp -bnoentry afslib.o + ld -o $@ -bM:SRE -bI:$(srcdir)/afsl.exp -bE:$(srcdir)/afslib.exp -bnoentry afslib.o -lc $(OBJECTS): ../../include/config.h diff --git a/lib/kafs/Makefile.in b/lib/kafs/Makefile.in index f34195c63..f348da2d2 100644 --- a/lib/kafs/Makefile.in +++ b/lib/kafs/Makefile.in @@ -97,7 +97,7 @@ $(LIBNAME).$(SHLIBEXT): $(OBJECTS) # AIX: this almost works with gcc, but somehow it fails to use the # correct ld, use ld instead afslib.so: afslib.o - ld -o $@ -bM:SRE -bI:$(srcdir)/afsl.exp -bE:$(srcdir)/afslib.exp @AFS_EXTRA_LD@ afslib.o + ld -o $@ -bM:SRE -bI:$(srcdir)/afsl.exp -bE:$(srcdir)/afslib.exp @AFS_EXTRA_LD@ afslib.o -lc $(OBJECTS): ../../include/config.h