makeshlib.sh (library): Add -bnoentry to the AIX shared library link
authorTheodore Tso <tytso@mit.edu>
Sat, 15 May 1999 23:51:36 +0000 (23:51 +0000)
committerTheodore Tso <tytso@mit.edu>
Sat, 15 May 1999 23:51:36 +0000 (23:51 +0000)
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

src/util/ChangeLog
src/util/makeshlib.sh

index 0dd9117f3027d5c1607fc4fcde59dbbc173dbc21..97f92963fb5ece01de79a9eece509686b38b5bd4 100644 (file)
@@ -1,3 +1,12 @@
+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
index f305e2df6a92fdb7b5b28baca18e677fb2d16469..ec485cac179066b009cf8c58f560810466a92161 100644 (file)
@@ -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