From: Ken Raeburn Date: Sun, 30 May 2004 20:04:04 +0000 (+0000) Subject: * shlib.conf (*-*-aix*): Use linker options for library finalization X-Git-Tag: krb5-1.4-beta1~387 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=78026363dabef1a5f216a165e7b0049d3ada125c;p=krb5.git * shlib.conf (*-*-aix*): Use linker options for library finalization git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16377 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/config/ChangeLog b/src/config/ChangeLog index 250f143b4..fb0398695 100644 --- a/src/config/ChangeLog +++ b/src/config/ChangeLog @@ -1,3 +1,8 @@ +2004-05-30 Ken Raeburn + + * shlib.conf (*-*-aix*): Use linker options for library + finalization. + 2004-05-27 Ken Raeburn * win-pre.in (CP): Copy nul: plus the file, to avoid carrying over diff --git a/src/config/shlib.conf b/src/config/shlib.conf index 5d0729281..0768adb87 100644 --- a/src/config/shlib.conf +++ b/src/config/shlib.conf @@ -345,9 +345,13 @@ mips-*-netbsd*) if test "$krb5_cv_prog_gcc" = "yes" ; then RPATH_FLAG='-Wl,-blibpath:' LDCOMBINE='$(CC) -shared -v -o shr.o.$(LIBMAJOR).$(LIBMINOR) $$objlist -nostartfiles -Xlinker -bgcbypass:1 -Xlinker -bfilelist -Xlinker -bM:SRE -Xlinker -bE:$(SHLIB_EXPORT_FILE) -Xlinker -berok $(SHLIB_EXPFLAGS) -lc' + INIT_FINI_PREP='if test -z "$(LIBFINIFUNC)" then initfini=""; else initfini="-Wl,-initfini::$(LIBFINIFUNC):3"; fi' + use_linker_fini_option=yes else RPATH_FLAG=-blibpath: - LDCOMBINE='/bin/ld -o shr.o.$(LIBMAJOR).$(LIBMINOR) $$objlist -H512 -T512 -bnoentry -bgcbypass:1 -bnodelcsect -bfilelist -bM:SRE -bE:$(SHLIB_EXPORT_FILE) -berok $(SHLIB_EXPFLAGS) -lc' + LDCOMBINE='/bin/ld -o shr.o.$(LIBMAJOR).$(LIBMINOR) $$objlist -H512 -T512 -bnoentry -bgcbypass:1 -bnodelcsect -bfilelist -bM:SRE -bE:$(SHLIB_EXPORT_FILE) -berok $(SHLIB_EXPFLAGS) -lc $$initfini' + INIT_FINI_PREP='if test -z "$(LIBFINIFUNC)" then initfini=""; else initfini="-initfini::$(LIBFINIFUNC):3"; fi' + use_linker_fini_option=yes fi MAKE_SHLIB_COMMAND="${LDCOMBINE}"' && ar cq $@ shr.o.$(LIBMAJOR).$(LIBMINOR) && chmod +x $@ && rm -f shr.o.$(LIBMAJOR).$(LIBMINOR)' RPATH_TAIL=:/usr/lib:/lib