* makeshlib.sh: Add support for NetBSD shared libraries
authorTom Yu <tlyu@mit.edu>
Tue, 4 Jul 1995 06:13:59 +0000 (06:13 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 4 Jul 1995 06:13:59 +0000 (06:13 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6226 dc483132-0cff-0310-8789-dd5450dbe970

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

index bbd20fea70eeff3d47dd195f501ed315d4b773c8..356e6832b0e233b04d1f5fa94c6841f8afef7627 100644 (file)
@@ -1,3 +1,7 @@
+Tue Jul  4 02:11:56 1995  Tom Yu  <tlyu@lothlorien.MIT.EDU>
+
+       * makeshlib.sh: Add support for NetBSD shared libraries.
+
 Sun Jul  2 20:42:45 1995  Sam Hartman  <hartmans@tertius.mit.edu>
 
        * makeshlib.sh (ldflags): Adapt AIX case to work with Gcc.
index 4bc56bfc1383a5031538462f611b3c130869ef79..2152b8c6f7a8fd1263cdf529a18905092bf50776 100644 (file)
@@ -16,6 +16,15 @@ liblist=$1; shift
 ldflags=$1; shift
 
 case $host in
+*-*-netbsd*)
+       FILES=`for i
+       do
+               sed -e "s;^;$i/shared/;" -e "s; ; $i/shared/;g" -e "s;^$i/shared/\$;;" $i/DONE
+       done`
+       echo ld -Bshareable $ldflags -o $library $FILES $libdirfl $liblist
+       ld -Bshareable $ldflags -o $library $FILES $libdirfl $liblist
+       stat=$?
+       ;;
 *-*-solaris*)
        FILES=`for i 
        do