From: Theodore Tso Date: Sat, 15 May 1999 23:51:36 +0000 (+0000) Subject: makeshlib.sh (library): Add -bnoentry to the AIX shared library link X-Git-Tag: krb5-1.1-beta1~161 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=04229d56a1f50658797494fbe5aa72ba8c9c0101;p=krb5.git makeshlib.sh (library): Add -bnoentry to the AIX shared library link line so that the shared libraries can be dynamically loaded. Also make the library file executable, which is apparently also necessary. (Patch from Duke, needed for SAP. Note: I didn't take their addition of -lbsd, since I don't think that's needed or a good idea). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11443 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/ChangeLog b/src/util/ChangeLog index 0dd9117f3..97f92963f 100644 --- a/src/util/ChangeLog +++ b/src/util/ChangeLog @@ -1,3 +1,12 @@ +Sat May 15 19:48:31 1999 Theodore Y. Ts'o + + * makeshlib.sh (library): Add -bnoentry to the AIX shared library + link line so that the shared libraries can be dynamically + loaded. (Patch from Duke, needed for SAP. Note: I didn't + take their addition of -lbsd, since I don't think that's + needed or a good idea). Also make the library file + executable, which is apparently also necessary. + 1999-01-27 Theodore Ts'o * Makefile.in, configure.in: Move the responsibility for diff --git a/src/util/makeshlib.sh b/src/util/makeshlib.sh index f305e2df6..ec485cac1 100644 --- a/src/util/makeshlib.sh +++ b/src/util/makeshlib.sh @@ -46,14 +46,15 @@ case $host in # installed (it could be even if we chose not to use gcc). # Better still would be to do this through $CC -- how do # we get crt0.o left out? - echo /bin/ld -o shr.o.$version $library -H512 -T512 -bM:SRE $LDFLAGS -bgcbypass:1 -bnodelcsect -bE:${library}.syms $libdirfl $liblist -lc - /bin/ld -o shr.o.$version $library -H512 -T512 -bM:SRE $LDFLAGS -bgcbypass:1 -bnodelcsect -bE:${library}.syms -lc + echo /bin/ld -o shr.o.$version $library -H512 -T512 -bnoentry -bM:SRE $LDFLAGS -bgcbypass:1 -bnodelcsect -bE:${library}.syms $libdirfl $liblist -lc + /bin/ld -o shr.o.$version $library -H512 -T512 -bnoentry -bM:SRE $LDFLAGS -bgcbypass:1 -bnodelcsect -bE:${library}.syms -lc fi stat=$? if [ $stat -eq 0 ] ; then rm $library ${library}.syms ar cq $library shr.o.$version stat=$? + chmod +x $library rm shr.o.$version else rm -f $library