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
This commit is contained in:
Johan Danielsson
1998-04-26 15:18:30 +00:00
parent e4b13a8b1c
commit e57388cc7e
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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