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
+Sat May 15 19:48:31 1999 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * 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 <tytso@rsts-11.mit.edu>
* Makefile.in, configure.in: Move the responsibility for
# 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